473,508 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

minimum password length

how to set correct properties for minimum length of 6 characters ? The following doesn't work.

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
PasswordRegularExpression='@\"(?=.{7,)(?=(.*\d){1, )(?=(.*\W){1,)'
PasswordRegularExpressionErrorMessage="Minimum password length is 6 characters"
InvalidPasswordErrorMessage="Password length minimum: {6}. <br />Non-alphanumeric characters required: {0}."
Jan 31 '07 #1
1 3507
hi jon,
the regular expression contains syntax errors. the curly brackets are
opened but not closed (they are closed by normal brackets, but this doesn't
count).

hope this helps
itm
"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:O2**************@TK2MSFTNGP06.phx.gbl...
how to set correct properties for minimum length of 6 characters ? The
following doesn't work.

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
PasswordRegularExpression='@\"(?=.{7,)(?=(.*\d){1, )(?=(.*\W){1,)'
PasswordRegularExpressionErrorMessage="Minimum password length is 6
characters"
InvalidPasswordErrorMessage="Password length minimum: {6}. <br
/>Non-alphanumeric characters required: {0}."
Jan 31 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6045
by: Lobang Trader | last post by:
Hi all, I am trying to create a username and a password class. I would like to know what are the RECOMMENDED minimum and maximum length for both fields? These fields will be something like...
4
4697
by: Porthos | last post by:
Hi All, I'm trying to find the minimum value of a set of data (see below). I want to compare the lengths of these attribute values and display the lowest one. This would be simple if I could...
1
6360
by: Patrick Dunnigan | last post by:
Hi, I am attempting a bulk copy from a c program into SQL Server 2000 using DBLib in freeTDS 0.63 RC11 (gcc 3.4.3, RH 9). I am getting an error message that I cannot find any documentation on. ...
0
1639
by: Joe Frank | last post by:
Howdy- I have some code that programmatically creates users in AD like so: user.Properties.Value = 512; user.CommitChanges(); // Set password user.Invoke("SetPassword", new object { password...
2
11030
by: Abhishek Srivastava | last post by:
Hello All, Can I validate the minimum length of a field using any of the existing validators? I searched google on this subject and found people offering custom controls for this. However,...
0
1199
by: Adam Carpenter | last post by:
Hello, I am having some problems with these functions which are to be part of the forgotten password system for a website. I am sure it is something simple but I can't see it. I would be...
3
11350
by: julianmoors | last post by:
Hey, Currently I'm writing a VB.NET/1.1 app and I need to mask the input for the password field. Does anyone know how to do this in VB? I've seen a C# example, but wouldn't know how to convert...
1
7990
by: Yasin Cepeci | last post by:
Password length minimum: 7. Non-alphanumeric characters required.I ve taken this error. Microsoft Security Policy requires something nonsense I think. I never think a password like "75256asdf!^+%&"...
2
3171
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.