Hello,
I am trying to create a new user programmatically by using Membership.CreateUser(username As String, password As String). When I try to create a new user by using the code below, I get following errormessage and I do not understand what I am doing wrong. I hope someone can help me with this.
Error: System.Web.Security.MembershipCreateUserException: The password-answer supplied is invalid. at System.Web.Security.Membership.CreateUser(String username, String password, String email) at System.Web.Security.Membership.CreateUser(String username, String password) at ...... .Button1_Click(Object sender, EventArgs e) in c:\Documents and Settings\User\My Documents\Visual Studio 2005\WebSites\......\test.aspx.cs:line 22
<%@ Page Language Go to the complete details ...