Author: hannodb | Posted on: 9/22/2008 5:26:17 AM | Views : 300

Here's an interesting problem involving the "wonderful" membership class of Microsoft. I'll Appreciate any help.

This is it: I have a windows service that needs to insert users into the database. Thanks to http://www.koders.com, I was able to see the inner workings of the membership class, and write the service.
The encryption of the password works well with the membership class. The problem is the security question and answer.

I run the following in Quickwatch

Membership.Provider.ResetPassword("7603245038083","B"), but I get the following error : "The password-answer supplied is wrong.".

To debug the problem, I referenced
http://www.koders.com/csharp/fid18F654F5669AC847044652212BDE35542A876301.aspx for the source code of System.Web.Security.SqlMembershipProvid ...

Go to the complete details ...