I have used the log in control with the
AspNetSqlMembershipProvider for the first time on a site that I am currently working on. It works fine on our development server... When I copy the site, and the aspnetdb.mdf file up to the production server I can't log in with the user
credentials that I added on the development server. So far I have worked out:
The database is definitely being attached on the production server as I have added a page that simply displays the contents of the aspnet_Membership table and that works fine
It is nothing to do with the password hashing as I have tried setting passwordFormat="Clear" in the config and the problem persists
I am definitely using the correct username and password as I am able to retrieve them from the db with the page mentioned in the first point
I have even tried kicking my machine but that hasn't worked. I have scoured Google but all to no avail. Can anyone help?
Ok, I have fixed the problem myself. The cause was mismatching application names between my local server and my deployment one. I have described the issue in more depth replying to another thread here:
gmpeng
Member
50 Points
10 Posts
Membership/Log In - Can't log in after deployment
Feb 10, 2006 02:16 PM|LINK
Hi
I have used the log in control with the AspNetSqlMembershipProvider for the first time on a site that I am currently working on. It works fine on our development server... When I copy the site, and the aspnetdb.mdf file up to the production server I can't log in with the user credentials that I added on the development server. So far I have worked out:
I have even tried kicking my machine but that hasn't worked. I have scoured Google but all to no avail. Can anyone help?
Thanks in advance
Graham
Architecture, Visualisation, Design, 3d, Application, Web, Windows, Development, Liverpool, UK
gmpeng
Member
50 Points
10 Posts
Re: Membership/Log In - Can't log in after deployment
Feb 13, 2006 07:55 PM|LINK
Ok, I have fixed the problem myself. The cause was mismatching application names between my local server and my deployment one. I have described the issue in more depth replying to another thread here:
http://forums.asp.net/1154939/ShowPost.aspx
Architecture, Visualisation, Design, 3d, Application, Web, Windows, Development, Liverpool, UK
gmpeng
Member
50 Points
10 Posts
Re: Membership/Log In - Can't log in after deployment
Feb 14, 2006 08:54 AM|LINK
The cause of this issue is explained by Scott Guthrie here:
http://forums.asp.net/1195920/ShowPost.aspx
Graham
Architecture, Visualisation, Design, 3d, Application, Web, Windows, Development, Liverpool, UK