Solution One:
"The Minimum password length is 7, which must contain the following non-alphanumeric characters: 1",
One of the "1" is not specific to the number 1, but includes some special characters, such as [email protected]#$%^&* () _+, casually enter a OK.
Solution Two:
"The Minimum password length is 7, which must contain the following non-alphanumeric characters: 1",
(Password length minimum:7. Non-alphanumeric characters required:1.)
The above message is generated when the user is created, and is created when the user is manage with the ASP. NET Web site.
The main is the password input does not meet the requirements, to change the above provisions, there are two main methods:
1. All sites are changed.
Locate the Machine.config profile file
<membership>
<providers>
<add
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= ""/>
</providers>
</membership>
There are two attributes, one is minrequiredpasswordlength, meaning the shortest password length, the default is 7
The other is minrequirednonalphanumericcharacters, which defaults to 1, meaning that there is at least one non-alphabetic character, just change it to 0.
2. If it is just for a site, just modify the value of the Web. config is ok
Modify as above, insert the above code in <system.web> below OK.
WORKAROUND: C # password Minimum length is 7, which must contain the following non-alphanumeric characters: 1