When using the membership provider of Asp.net 2, select the website drop-down menu in vs.net 2005, and then select the Asp.net configuration option to display the page-based setting interface, here, you can add users to secruity. At the beginning, you tried several times,
The password is too simple, and then you can search for other people's instructions. In Asp.net 2 beta 2, the password is required
It must be 8 or more characters long and contain uppercase/lowercase letters, numbers, and punctuation marks. It's a day. Check the solution,
You can do this in Web. config as follows:
<Providers>
<Remove name = "aspnetsqlmembershipprovider"/>
<Add name = "aspnetsqlmembershipprovider" minrequiredpasswordlength = "6" minrequirednonalphanumericcharacters = "0" type = "system. web. security. sqlmembershipprovider, system. web, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a "connectionstringname =" localsqlserver "/>
</Providers>
Note: minrequiredpasswordlength indicates the minimum password length. I set it to 6. minrequirednonalphanumericcharacters indicates the number of other non-letter characters. Here I set it to 0, which is convenient.
In this way, you can. Note that, in addition, Machine. config does not work. It is strange. It is estimated that the official version will be improved.