Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 6th, 2008, 05:54 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login issue [RESOLVED]

I was wondering why i cannot get logged in to the Wrox blog. It works just fine unless you want to post a new article. The credentials you have left in the book are not working. Administrator / Admin123#

I have added roles, new users but still nothing happens. I just get that error message: Your login attempt was not successful. Please try again.

Any suggestion?

Thanks
__________________
http://www.entertainmentresidence.com/Index.htm
  #2 (permalink)  
Old March 6th, 2008, 06:18 AM
Imar's Avatar
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What database are you using? Have you seen the errata for chapter 6?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #3 (permalink)  
Old March 6th, 2008, 06:26 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using SQL Server 2005 express and Yes i have read the errata for the chapter six. I tried with the other password but it doesn't work as well.

Thanks
  #4 (permalink)  
Old March 6th, 2008, 06:39 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem sorted out. The database files were read-only. I changed the permissions and now it works like a charm. Thanks for your time.
  #5 (permalink)  
Old March 6th, 2008, 06:57 AM
Imar's Avatar
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You're welcome. Glad it's working now.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #6 (permalink)  
Old March 6th, 2008, 07:06 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please let me know if there is something left that i suppose to do in order to recognize it as resolved. Thanks

http://www.entertainmentresidence.com/Index.htm
  #7 (permalink)  
Old March 6th, 2008, 05:47 PM
Imar's Avatar
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Nope, there isn't. There's no way to mark posts as closed or resolved in this forum.

Thanks for posting a follow up though; much appreciated.


Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #8 (permalink)  
Old March 7th, 2008, 04:17 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm ... now i am faced with a bit different problem.
Namely when i transfered the blog to shared hosting environment the authentication stoped to work properly.
Whenever i log in as an Administrator i cannot see the Add new entry button as well as the edit entry link.
I am logged and it seems alright but, i cannot edit, add ..

The hosting is godaddy.com and it's full SQL server 2k5 so i thought maybe there is a known issue with this hosting.

Any suggestion will be appreciated.

Thanks :)

P.S. on my local computer everything works just fine.

http://www.entertainmentresidence.com/Index.htm
  #9 (permalink)  
Old March 7th, 2008, 04:56 AM
Imar's Avatar
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

You may want to take a look here: http://p2p.wrox.com/topic.asp?TOPIC_ID=69059

It lists a few things to check and shows you some code to ensure some roles and user accounts are always created.

HtH,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #10 (permalink)  
Old March 7th, 2008, 05:41 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar thanks for the time you spent to help people like me.

I've read the thread you recommended to me and i came with something that could be possible causer but i am not pretty sure how to fix that.

Quote:
quote:
1. Each application has an ID
2. Each role is linked to an ApplicationID
3. Each users is linked to an ApplicationID
4. The UsersInRoles connects users to roles.

There's a fair chance there is a mismatch somewhere. E.g. your Roles are defined for application A, while your user belongs to Application B.

To find out, check the contents of these tables and see how everything is related....
As for now there are two paths into the aspnet_Applications table.

/
/WroxBlog

And i believe that there is the thing i am missing.

when i get logged on the shared hosting from www.domain.com/Login.aspx i am redirected to something like this: www.domain.com/DOMAIN/Default.aspx altrough it should be www.domain.com/Default.aspx

What do you suggest? That i add /Domain in the applications table?

I will try in meantime and let you know if it works for me.

Thanks ones again and sorry for my bad English.


http://www.entertainmentresidence.com/Index.htm
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[RESOLVED] Remote Debugging Issue dparsons ASP.NET 1.0 and 1.1 Professional 1 March 19th, 2007 01:19 PM
login issue Calverstine JSP Basics 2 January 12th, 2007 03:25 AM
login issue. using asp and access teknet Access ASP 9 February 9th, 2005 01:49 AM



All times are GMT -4. The time now is 03:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.