Last post Jun 17, 2009 09:44 AM by satalaj
Feb 17, 2009 02:26 PM|brianhevans|LINK
Hi all, I am experiencing some issues with the Membership provider. I had a working instance in production and for some reason it stopped working somewhat. I could still log in but if I try to recover a lost password I get the message:
Your answer could not be verified. Please try again.
I am able to log in but this error happens when trying to get a new temporary password on the 'RecoverPassword.apsx' page. Like I said before this worked for several weeks perfectly but something has gone wrong. I am connected to a SQL Server 2000 database
and that connection works or I would not be able to login. The email server I have configured is valid as I have tested that.
I am at a bit of a loss here. Please help....
Feb 17, 2009 03:30 PM|Rodashar|LINK
Do you require you rusers to provide a password recovery question to retrieve their password? It seems like the membership provider is expecting a security question answer and is not getting one. Check your webconfig if you don't want your users to supply
a password recovery question.
Feb 17, 2009 06:41 PM|brianhevans|LINK
I do require the Security Question answer and this was working before but something changed and that is where I started noticing a problem. Like I said before this worked for several weeks. It was all tested and put into Production.
Now, I can still log in but if I click the link to take me to the password recovery page I am asked for my username and then the answer to my question. It is at this point that I get the error message. Below is my web.config
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
<network host="emailserver1.sample.info" password="" userName="" />
Does this help?
Jun 17, 2009 09:44 AM|satalaj|LINK
Haven't you override Membership section in web.config ?