In my 2005 website configuration, "The minimum password length is 7, which must contain the following non-alphanumeric characters 1?
Here is a solution:
Method 1: Enter a 7-digit password ~! @ # $ ^ & * () _ +
Method 2: Go to C: windowsmicrosoft. netframeworkv2.0.50727config and find the machine. config file.
Modify the <membership>... </Membership> node as follows:
<Membership>
<Providers>
<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 = ""/>
</Providers>
</Membership>
Minrequiredpasswordlength, which indicates the longest password. The default value is 7.
Minrequirednonalphanumericcharacters. The default value is 1. It indicates at least one non-letter character. You only need to change it to 0. Note that it indicates that a non-letter character is entered, not 1.
Emphasize
If you only need Code You can insert it to the <system. Web> node in Web. config.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.