Forum Moderators: open

Message Too Old, No Replies

Can't Login

         

andrewsmd

7:09 pm on Sep 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a system that we have been testing on our development server. I am in the process of moving it to the live server now. I backed up our dev db and restored it to the live db. If I select from aspnet_users I see the two users I added. However, when I try to log in it says my password is invalid. I had this problem with the dev server and I used the aspnetconfiguration in visual studio to add a user. I then logged in and created a user and then used that user. The problem is, on our live server, we don't have vs and I have no way to access that configuration manager. I think this has something to do with encryption keys or something, but I'm rather new to all of this stuff. I am using a customized role provider. Can anyone give me some suggestions? Thanks,

Ocean10000

9:03 pm on Sep 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How did you move the database from Development to production? Are the development SQL and production SQL servers the same Major Version ie 2005 or 2008? It is okay if the development is 2005 and production is 2008.

Did you remember to change the connection strings to point to the new server? And did those connection strings have the correct login information.

There is another possibility that the "application name" is different on production then on development so it is not accessing the correct login information.

[codeidol.com...]

andrewsmd

9:17 pm on Sep 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both versions are 2005. Connection string is good. How do I check what application name the server is using?

andrewsmd

9:18 pm on Sep 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Never mind I found the application name. They are the same. Any other ideas?

marcel

4:45 am on Sep 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Would the connectionStringName value of your membership provider happen to be 'LocalSqlServer'?

ie. connectionStringName="LocalSqlServer"

andrewsmd

1:41 pm on Sep 28, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just restarted Enterprise manager and it worked.