Author: kateVanG | Posted on: 5/3/2009 9:05:43 PM | Views : 266

Hi, I am still having problems with my custom Membership and Roles providers. This problem is different from the last unsolveable one, so it warrents a new thread.

Basically, when testing the PasswordRecovery control, if I enter an incorrect answer to the question prompt (for password reset), my provider throws an error. This is by design and working as planned. However, I don't know how to catch that error. Specifically, I don't know what event in the PasswordRecovery control's lifecycle calls the  ResetPassword method of my provider.

I tried catching it by manually calling that method in the VerifyingAnswer event. Although that worked, ResetPassword was called again after that. So, something else in the PasswordRecovery control's lifecycle is calling the ResetPassword method. How do I catch this error. The PasswordRecovery control fails to catch it, so I guess tha ...

Go to the complete details ...