Password Recovery in ASP.Net 2.0 using membership

Discussion in 'ASP.NET 2.0' started by factsonweb, Mar 24, 2009.

  1. Hi,

    Can somebody guide me on using PasswordRecovery control that comes with ASP.Net 2.0 Login controls.

    I have created a custom membership provider and user gets created successfully with custom details and details are stored at back end (verified)

    I am able to Login into our web application as well.

    however, we are facing issue with PasswordRecovery Control. It is 2 step process and user is getting validated as it comes to 2nd step and says enter the answer to question. Question displayed is correct hence user got validated for sure.

    but submitting the answer always returns "You attempt to retrieve the password was unsuccessful". Why is this happening?

    WE have password format = clear in the custom membership provider settings as set in web.config file.

    Also requiresQuestionAndanswer is set to true.

    any help would be appreciated
     
  2. Hi,
    Go to the ASP.NET Learning section, you'll find Videos and code for this.
    http://www.asp.net/learn/
    All the best,
    Mark
     
  3. Was the setting set to clear before or after the user was already created and the password stored in another format? If the password format was different before, then try recreating the user.
     

Share This Page