I want my users' email addresses to be unique. I have looked around and found various examples of code to add to the web.config file that all look similar to the following:
<membership defaultProvider="CustomizedMembershipProvider">
<providers>
<add name="CustomizedMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="xmxmxmxmm" requiresUniqueEmail="true" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" minRequiredPasswordLength="8" minRequiredNonalphanumericCharacters="1"/>
</providers>
</membership>
However...whenever I add this to the web.config file and run the page with the CreateUserWizard I get the following error:
Parser Error Message: Unrecognized configuration section membership.
Go to the complete details ...