why non alphanumeric password is accepted?!

Discussion in 'ASP.NET 2.0' started by raymondp, Oct 5, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Please provide us the full exact error message that is being displayed on your browser.

    rcp
    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You can configure the password strength / length in the web.config.

    SetminRequiredNonalphanumericCharacters to zero.

    <membership>
    <providers>
    <remove name="AspNetSqlMembershipProvider" />
    <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"
    minRequiredPasswordLength="1"
    minRequiredNonalphanumericCharacters="0"
    passwordFormat="Hashed"
    maxInvalidPasswordAttempts="5"
    passwordAttemptWindow="10"
    passwordStrengthRegularExpression="" />
    </providers>
    </membership>

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Hi everybody.I have used registration control (visual studio 2005) but the password cannot be alphanumeric.My website is www.drhesami.netclick on hyperlink. the moment yo enter alpha numeric pass word you get an error message.
    Please let me know what I should do.
    Yours
    Kazemainy
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page