Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had research on the change password restriction in CreateUserWizard through the internet. And almost all of the answers given is for me to add the codes into the "Web.Config" file. However, this method won't works for my case.

Upon adding :
minRequiredNonAlphanumericCharacters="0" minRequiredPasswordLength="3"

there are blue curly lines below, stating that this attribute is not allowed. -- Is there anywhere i can add change the pw restriction apart on the web.config file or edit the web.config file???

This is my web.config file:
XML
<?xml version="1.0"?>

<configuration>
<connectionStrings>
<add name="ASPNETDBConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"  providerName="System.Data.SqlClient"/>
</connectionStrings>

<system.web>
<authentication mode="Forms" />
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>
Posted
Updated 21-Jun-12 21:41pm
v2

1 solution

I think you can use the above thing only if you added membership function......


ASP.NET Membership and Role Provider[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900