Help me with Non-alphanumeric characters

Last post 07-21-2009 11:12 PM by chetan.sarode. 5 replies.

Sort Posts:

  • Help me with Non-alphanumeric characters

    07-17-2009, 8:20 PM
    • Member
      15 point Member
    • morkie28
    • Member since 03-18-2009, 2:45 AM
    • Posts 86

    I can't get out with this requirments...it say's Password length minimum 7, Non-alphanumeric characters..I spend hour putting any some idea code but it's not working for meh...

    Does anyone have a clue what is up here?

    Is there a way to change the requirements?

    Can you help me plss.?I'm getting started with asp.net

    Thanks...



    Filed under:
  • Re: Help me with Non-alphanumeric characters

    07-17-2009, 11:46 PM
    Answer
    • Contributor
      2,042 point Contributor
    • vora_bhaumik
    • Member since 11-26-2008, 3:56 AM
    • Ahmedabad
    • Posts 339
    Enjoy Smile

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.

    Regards,
    Bhaumik
  • Re: Help me with Non-alphanumeric characters

    07-18-2009, 12:49 AM
    • Member
      15 point Member
    • morkie28
    • Member since 03-18-2009, 2:45 AM
    • Posts 86

     In my web.config i can't see  this section,

    <system.web>

    <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="false"
                                  applicationName="/"
                                  requiresUniqueEmail="false"
                                  minRequiredPasswordLength="6"
                                  minRequiredNonalphanumericCharacters="0"
                                  passwordFormat="Hashed"
                                  maxInvalidPasswordAttempts="5"
                                  passwordAttemptWindow="10"
                                  passwordStrengthRegularExpression="" />
                  </providers>
    </membership>

    </system.web>


    Do i need to paste on it?

  • Re: Help me with Non-alphanumeric characters

    07-19-2009, 11:02 PM

    Try to set/change as per your requirment in web.config as follows

    <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="false"
                                  applicationName="/"
                                  requiresUniqueEmail="false"
                                  minRequiredPasswordLength="6"
                                  minRequiredNonalphanumericCharacters="0"
                                  passwordFormat="Hashed"
                                  maxInvalidPasswordAttempts="5"
                                  passwordAttemptWindow="10"
                                  passwordStrengthRegularExpression="" />
                  </providers>

    For example: you change  minRequiredNonalphanumericCharacters="0" from minRequiredNonalphanumericCharacters="1", then you don't need the Non alphanumeric Characters any more.

    You change other setting within this block as you want.

    There was a great thread that had a lot of great time tracker fixes including changing the password requirements.  See it here:  http://forums.asp.net/thread/1128558.aspx

     

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Help me with Non-alphanumeric characters

    07-20-2009, 12:31 AM
    • Member
      15 point Member
    • morkie28
    • Member since 03-18-2009, 2:45 AM
    • Posts 86

    Yah thanks for that....

    now i can register now with no entering a non-aphanumericCharacters....

    Thanks a lot...

  • Re: Help me with Non-alphanumeric characters

    07-21-2009, 11:12 PM

     Cool

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
Page 1 of 1 (6 items)
Microsoft Communities