Membership/Log In - Can't log in after deploymenthttp://forums.asp.net/t/961749.aspx/1?Membership+Log+In+Can+t+log+in+after+deploymentTue, 14 Feb 2006 08:54:29 -05009617491194370http://forums.asp.net/p/961749/1194370.aspx/1?Membership+Log+In+Can+t+log+in+after+deploymentMembership/Log In - Can't log in after deployment <p><font face="Tahoma" size="2">Hi </font></p> <p><font face="Arial"><font face="Tahoma"><font size="2">I have used the log in control with the <font color="#000000">AspNetSqlMembershipProvider&nbsp;for the first time on a site that I&nbsp;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:</font></font></font></font></p> <ul> <li><font face="Arial"><font face="Tahoma"><font size="2">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</font></font></font> </li><li><font face="Arial"><font face="Tahoma"><font size="2">It is nothing to do with the password hashing as I have tried setting passwordFormat=&quot;Clear&quot; in the config and the problem persists</font></font></font> </li><li><font face="Tahoma" size="2">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</font></li></ul> <p><font face="Tahoma" size="2">I have even tried kicking my machine but that hasn't worked. I have scoured Google but all to no avail. Can anyone help?</font></p> <p><font face="Tahoma" size="2">Thanks in advance<br> <br> Graham</font></p> <p><a href="http://www.lot31.co.uk"><font face="Tahoma" size="2">Architecture, Visualisation, Design, 3d, Application, Web, Windows,</font><font face="Tahoma" size="2">&nbsp;Development, Liverpool, UK</font></a></p> <p><font face="Arial"><font face="Tahoma">&nbsp;</p> </font></font> 2006-02-10T14:16:33-05:001196942http://forums.asp.net/p/961749/1196942.aspx/1?Re+Membership+Log+In+Can+t+log+in+after+deploymentRe: Membership/Log In - Can't log in after deployment <p><font face="Tahoma" size="2">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:</font></p> <p><a href="/1154939/ShowPost.aspx"><font face="Tahoma" color="#800080" size="2">http://forums.asp.net/1154939/ShowPost.aspx</font></a></p> <p><a href="http://www.lot31.co.uk/"><font color="#7395c1"><font face="Tahoma" size="2">Architecture, Visualisation, Design, 3d, Application, Web, Windows,</font><font face="Tahoma" size="2">&nbsp;Development, Liverpool, UK</font></font></a></p> <p>&nbsp;</p> 2006-02-13T19:55:39-05:001197378http://forums.asp.net/p/961749/1197378.aspx/1?Re+Membership+Log+In+Can+t+log+in+after+deploymentRe: Membership/Log In - Can't log in after deployment <p><font face="Tahoma" size="2">The cause of this issue is explained by Scott Guthrie&nbsp;here:</font></p> <p><a href="/1195920/ShowPost.aspx">http://forums.asp.net/1195920/ShowPost.aspx</a></p> <p><font face="Tahoma" size="2">Graham</font></p> <p><a href="http://www.lot31.co.uk/"><font color="#7395c1"><font face="Tahoma" size="2">Architecture, Visualisation, Design, 3d, Application, Web, Windows,</font><font face="Tahoma" size="2">&nbsp;Development, Liverpool, UK</font></font></a></p> 2006-02-14T08:54:29-05:00