Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Can't log in, Membership.GetUser() doesn't find user - what do I do now?

$
0
0

Hello,

I have a LightSwitch OOB application that has been working fine. I just deployed a new version (using FTP, so didn't touch the database), but when I try to log in, I get a message "The login information entered is not correct." I have looked in the database, and can see that the aspnet_users table contains my user, and the data looks like the last backup.

I tried writing a web page to reset the password, but when I used Membership.GetUser(), passing in my user name (which is correct, it's what I've been using for years, and corresponds to what I see in the UserName column in the database), it returns null.

Anyone any ideas as to what's going on? I posted here as LightSwitch security is based on ASP.NET membership, so presumably any method of fixing the problem that would be suggested here would work for me.

Thanks in advance.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>