Web Site Administration Tool How to change the Password length ASP.NET 3.5
-
Hi, i use the ASP.NET 3.5 included security system. i want to change the min password length and i will not work with Non-alphanumeric characters... but how???
-
Hi, i use the ASP.NET 3.5 included security system. i want to change the min password length and i will not work with Non-alphanumeric characters... but how???
Use the Followin Code In Web.Config file It May Help I used in the following way
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider"
connectionStringName="MyAspNetDB"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/SamplesRolesApp"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="100"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>If It Helps Click It as Answer
-
Use the Followin Code In Web.Config file It May Help I used in the following way
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider"
connectionStringName="MyAspNetDB"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/SamplesRolesApp"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="100"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</membership>If It Helps Click It as Answer
Thanks for you answer!!! i thing i am to dumb ;) i have insert the configuration in my web.config... but Parser Error Message: Unrecognized configuration section providers. on which position have you insert the providers tag?? Cheerio!