Author: riverdayz | Posted on: 6/1/2010 11:42:22 PM | Views : 301

I am trying to use the member ship and roles API to create a new user (for now). These are just test methods and best practices are not used.
I keep getting the status error that says "invalid password" Bu I am not sure why I am getting it as it should meet the requirements in the web.config
here is the code in which i am attemping to do this
public class AccountMembershipService { private readonly MembershipProvider _membershipProvider; public AccountMembershipService() : this(null) { } public AccountMembershipService(MembershipProvider provider) { _membershipProvider = provider ?? Membership.Providers["AspNetSqlMembershipProvider"]; } public MembershipCreateStatus CreateUser() { MembershipCreateStatus status; _membershipProvider.CreateUser(&qu ...

Go to the complete details ...