http://www.cnblogs.com/jiangfl/archive/2007/03/07/666542.html
Petshop4.0 中注册时出现Please enter a more secure password.的解决方法:
在网上找到答案:
<connectionStrings>
<add name="MySqlConnection" connectionString="Data Source=MySqlServer;Initial Catalog=aspnetdb;Integrated Security=SSPI;" />
</connectionStrings>
<system.web>
..
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MySqlConnection"
applicationName="MyApplication"
minRequiredNonalphanumericCharacters="0"
minRequiredPasswordLength="6"
passwordStrengthRegularExpression="" />
</providers>
</membership>
<add name="MySqlConnection" connectionString="Data Source=MySqlServer;Initial Catalog=aspnetdb;Integrated Security=SSPI;" />
</connectionStrings>
<system.web>
..
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MySqlConnection"
applicationName="MyApplication"
minRequiredNonalphanumericCharacters="0"
minRequiredPasswordLength="6"
passwordStrengthRegularExpression="" />
</providers>
</membership>
评论