Password strength doesn't change in asp.net 2.0

Posted on 2007-03-30
Medium Priority
Last Modified: 2013-11-07
I'm trying to configure the password strength in order to have a password that must contains alpha character not case sensitive and may contain numbers.
I put this regular expression passwordStrengthRegularExpression="^[a-zA-Z[0-9]*]+$"  in the web.config but when I create an account and the site show me the same message error: Password length minimum: 6. Non-alphanumeric characters required: 1.

Why the password strength doesn't change?
Question by:abonjour

Expert Comment

ID: 18830780
Use this regexp as it will do the same you will try to do

Author Comment

ID: 18833997
I put this regular expression in the web.config but when I creat an account I've this error.
Password length minimum: 6. Non-alphanumeric characters required: 1.

I don't konw the problem It's like the web.config doesn't change the passwordstrength setting. Whatever regex I put I recieve the same message from the create account.
LVL 85

Accepted Solution

ozo earned 1500 total points
ID: 18849048
You probably need to change the
properties in order to change the message error.
I doubt it is parsing passwordStrengthRegularExpression in order to generate that message
Must contain alpha character not case sensitive and may contain numbers. would be

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question