Avatar of zekuser
zekuser

asked on 

Password incorrect or New Password invalid. New Password length minimum: 7. Non-alphanumeric characters required: 1

I keep getting this error when I try to change my password.  I'm using the ChangePassword control.  I can add users and type in a 7 char password with 1 non alpha character successfully.  However, when I try to change the password it fails with this error.
<membership defaultProvider="MembershipADProvider">
			<providers>
				<add
      name="MembershipADProvider"
      type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
      connectionStringName="ADConnectionString"
      attributeMapUsername="sAMAccountName"
      connectionUsername="********"
      connectionPassword="********
	  passwordStrengthRegularExpression=""
	  minRequiredPasswordLength="7"
      minRequiredNonalphanumericCharacters="1"
	  />

Open in new window

ASP.NETActive Directory

Avatar of undefined
Last Comment
zekuser
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Is this a user in your AD domain?
Do you have "Password must meet complexity requirements" set to enabled on a domain linked Group Policy?
Avatar of zekuser
zekuser

ASKER

I don't control the domain but I was informed that the policy is 7 characters 1 non alpah.
Avatar of zekuser
zekuser

ASKER

I can create new accounts in this domain  I just can't reset the password.
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

If password complexity is turned on then you have to meet these requirments
With password complexity requirements enabled, it requires 3 out of  4 of the below:


English uppercase characters (A through Z). " 
English lowercase characters (a through z). " 
Base-10 digits (0 through 9). " 
Non-alphanumeric (for example, !, $, #, %). extended ASCII, symbolic, or linguistic characters
Many places do have it on, unless there is a custom filter there is no native policy to just say "have 1 non-alpha"
 
Avatar of zekuser
zekuser

ASKER

The password I'm testing with meets those requirements.  It is still failing.  I can a new account passing back a password.  we are using forms authentication.   Could they have disable the ability for the admin user to change passwords?   When a user uses attemps to change their password does it use their account or the admin account in the provider section?
ASKER CERTIFIED SOLUTION
Avatar of LauraEHunterMVP
LauraEHunterMVP
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of zekuser
zekuser

ASKER

The admin user did not have the rights to reset passwords.  thanks.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo