This problem occurs.
This is the createuserwizard control. If you enter the password, the following error message is returned:
"The minimum password length is 7, which must contain the following non-alphanumeric characters: 1 .".
However, if you enter 1 and the password length is greater than 7 characters, this problem still exists. Why?
The northern Archer found the answer.
I also checked msdn to find a method to change the verification rules:
Modify attributes of the edge configuration section
1 < Membership >
2 < Providers >
3 < Add Name = "Aspnetsqlmembershipprovider" Type = "System. Web. Security. sqlmembershipprovider, system. Web, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a" Connectionstringname = "Localsqlserver" Enablepasswordretrieval = "False" Enablepasswordreset = "True" Requiresquestionandanswer = "True" Applicationname = "/" Requiresuniqueemail = "False" Passwordformat = "Hashed" Maxinvalidpasswordattempts = "5" Minrequiredpasswordlength = "7" Minrequirednonalphanumericcharacters = "1" Passwordattemptwindow = "10" Passwordstrengthregularexpression = "" />
4 </ Providers >
5
6 </ Membership >
Where
Minrequiredpasswordlength= "7"-- Minimum Password Length
Minrequirednonalphanumericcharacters= "1"-- Number of non-letter characters included
Passwordstrengthregularexpression= ""-- Regular Expression used to determine the password strength
Change the password verification policy.