Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

CreateUserWizard email field problem

Avatar of McGurk1
McGurk1Flag for United States of America asked on
ASP.NETMicrosoft DevelopmentWeb Applications
3 Comments1 Solution430 ViewsLast Modified:
I am using this wizard to create a form to allow users to register in my asp.net program.  
When a duplicate email address is entered, the wizard gives a message telling the user to enter a different email address.  All that is good.  However, and I have seen this happen in other apps on the web when I have tried to register, when the "user" tries to enter a different email address to complete the registration, the wizard errors with the message:  "The user 'myuser' is already in role 'myrole'." or "the user already exists".    I look in my db and the wizard has added the user to the users and usersinroles tables.  The result is the user is forced to start all over creating a different user name  because the wizard entered it into the database but will not allow the email to be changed. I added the following to the web config <providers> section but it does not help.

What I want to do is allow the user to enter a new email address if the email address is a duplicate and then have the createuserwizrd continue to create the appropriate records to complete the registration.

Haven't found any answers on the web yet.  Thanks for any help you may have on this.
Avatar of guru_sami
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers