Your login attempt was not successful. Please try again. in asp.net though password reset

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

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

enter image description here

Every tip is welcome. Thanks in advance, Laziale

+4
source share
2 answers

put a breakpoint right in the statement itself that authenticates your login information. Then debug and see if there is any exception. Remember to wrap with the try..catch statement and place another breakpoint in the catch statement.

+1
source

I am also in this matter. After comparing with the old versions of my project, I found the following problem. Attribute:

onauthenticate="LoginSite_Authenticate" 

was added to the asp: LoginView element that caused this behavior. After removal - login returned to mormal.

0
source

All Articles