UniqueEmail problem

P

Papanii Okai

Hi Guys,
I have a problem which I cannot seem to fix. I have a
registration page that requires users to fill in certain information. One of
the fields required is "user-Email". In my code behind page (c#), I used one
of the overloaded Membership.createUser() methods to create the user which
populates my aspnet_Membership table in the aspnetdb database. The problem I
am having is, if a user subscribes with an email address already in the
profile database, it still creates the user. In my web-config file under the
providers tag, I specify requiresUniqueEmail = "true". To be honest, I don't
know where else to look. I get the expected results if a user tries to
subscribe with an already existing username (I.e. user creation fails). I
double checked the database to see if the emails where somewhat different
but as I suspected, they where all the same. Any suggestions?

--Papanii
 
C

Christopher Reed

Verify that ApplicationName is unique as well for each of your duplicate
email addresses.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top