Search code examples
asp.netvisual-studio-2010authenticationasp.net-membership

"Your login attempt was not successful. Please try again" in asp.net although password is reset


I have a problem with one account in asp.net, although I reset the password I still get this error when I am trying to login: "Your login attempt was not successful. Please try again"

How can I see the real message why this is happening? According to the database table for aspnet membership everything looks good:

enter image description here


Solution

  • put break point right at the very statement that authenticate your login information. Then debug and see if there's any exception. Remember to wrap with try..catch statement and put another breakpoint inside catch statement.