修改webconfig里面的字段
<membership userIsOnlineTimeWindow="15" >
<providers>
<add name="AspNetSqlMembershipProvider" type="Microsoft.ScalableHosting.Security.SqlMembershipProvider, MemberRole"
MaxInvalidPasswordAttempts="10000"
connectionStringName="SiteSqlServer" enablePasswordRetrieval="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />
</providers>
</membership>
<membership userIsOnlineTimeWindow="15" >
<providers>
<add name="AspNetSqlMembershipProvider" type="Microsoft.ScalableHosting.Security.SqlMembershipProvider, MemberRole"
MaxInvalidPasswordAttempts="10000"
connectionStringName="SiteSqlServer" enablePasswordRetrieval="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />
</providers>
</membership>