Thanks Max, I have tried setting it to 3 and 5, same result. Works fine for Win XP instance, invalidPassword error for Windows Server 2003.
Main Topics
Browse All TopicsminRequiredPasswordLength=
Mention must be made that this code runs fine against ADAM instance on Windows XP Pro machine. I am able to replicate the user from Win XP instance to Windows Server 2003 instance after it is created with a 4 digit password on Win XP ADAM instance.
Code fragment:
MembershipCreateStatus status;
Membership.CreateUser(stri
if (status == MembershipCreateStatus.Suc
{
blah, blah, blah...
}
Config setting:
minRequiredPasswordLength=
minRequiredNonalphanumeric
Any ideas?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Normally Active Directory settings do take precedence over the settings you make in a program. Strange however that you cannot change those settings in the Active Directory policy.
Is this problem consistent with different windows versions? There have been some minor differences known between different environments...
Also, have you tried to set the following in your web.config:
<location allowOverride="true">
Regards,
Max.
Here is what I got from Microsoft:
The password settings on ActiveDirectoryMembershipP
Basically it is done by design but I couldn't find that info anywhere.
Business Accounts
Answer for Membership
by: DreamMasterPosted on 2007-08-23 at 07:13:27ID: 19754471
Just a hunch here..
Have you tried setting the minRequiredPasswordLength to 3 instead?
If my gut feeling is correct, the way it is now would suggest that in that case 4 would work, whereas 3 would not...or in any other case...with this setting you have now...do 5-digit passwords get accepted?
Regards,
Max.