Author: zooom | Posted on: 2/7/2008 12:50:47 PM | Views : 475

I have the following code, which is creating duplicate username with different UserId in the aspnet_Users table -

Dim User As MembershipUser

Dim Status As MembershipCreateStatus

Try
User = Membership.CreateUser(txtUserId.Text.ToString(), txtPassword.ToString(), txtEmail.Text.ToString(), Nothing, Nothing, True, Status)
If Status = MembershipCreateStatus.Success Go to the complete details ...