Windows error 0x800708C5, -2147022651

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[1][2]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[1][2]
Error Code2245 (0x08c5)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x000008c5.

Questions

6votes
2answers

The ChangePassword invocation with DirectoryEntry object

No matter what I'm trying to throw at it, this method here always results in the following exception: var retVal = this.DirectoryEntry.Invoke("ChangePassword", new object[] { oldPassword, newPassword }) == null; InnerException = {"The password does not meet the password policy requirements. Check the minimum password length, password complexity and password [...] read more
c#
.net
active-directory
4votes
4answers

c# Change AD password Directoryservices

Im trying to get the following code to work, problem is, sometimes it does, sometimes it doesnt. when it fails it gives the error 0x800704F1 "the system cannot contact a domain controller to service the authentication request" I'd say about 90% of the time it fails. I have tried giving [...] read more
c#
active-directory
3votes
2answers

ASP.NET ChangePassword control with ActiveDirectoryMembershipProvider

I have a webapp that uses Forms Authentication using ActiveDirectoryMembershipProvider. That works fine... users can do login successfully. Once the user do login, he can change the password. We use a ChangePassword control that retrieve the Membership information and uses the OLD and new password to change the user's password. [...] read more
asp.net
active-directory
asp.net-membership
2votes
3answers

Changing Active Directory passwords always fails on password complexity

I'm trying to give my SharePoint 2010 users to change their AD passwords using the following C# on an application page (.aspx): using (HostingEnvironment.Impersonate()) { ctx = new PrincipalContext(ContextType.Domain); user = UserPrincipal.FindByIdentity(ctx, IdentityType.SamAccountName, userName); if (user != null) { user.ChangePassword(oldPw, newPw); user.Save(); } } Which works fine on my development [...] read more
c#
sharepoint-2010
active-directory
.net-3.5
2votes
1answer

Azure AD Connect installation error 0x800708C5

Installing Azure AD Connect 1.1.647.0 in express or custom mode fails with the following error: The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5) enter image description here [https://i.stack.imgur.com/Zpbhl.png] This error prompts when the AADC [...] read more
microsoft-office-365
azure-active-directory
windows-server-essentials
1vote
1answer

UserPrincipal.ChangePassword Throwing PasswordException

I have a password reset page that I created for my employees and for the UserPrincipal object, I perform the following: UserPrincipal user = Helpers.LDAPHelper.GetUserPrincipal(model.EmailAddress); string temporary = Membership.GeneratePassword(12, 4); user.SetPassword(temporary); user.ChangePassword(temporary, model.ConfirmPassword); The user.SetPassword call works fine, but does not trigger that the password has changed, so any password [...] read more
c#
active-directory
change-password
1vote
0answers

Min password length error server 2012

I need to set up a couple of users on our domain but they need to have 6 character passwords (apparently using 7 would be just too much hassle and unfortunately due to their positions its not a battle the IT dept are going to win) We are using server [...] read more
windows-server-2012
password-management
0votes
1answer

Active Directory Membership Provider Rejecting Password Reset

I'm using ActiveDirectoryMembershipProvider in an ASP.Net Application that allows users to manage their AD accounts (Create, Change Password, etc..). The problem is, When I try to reset the password using UserPrincipal.ChangePassword() method, it throws the following exception although there are no password policies specified on AD level: > {"The password [...] read more
asp.net
active-directory
web-config
membership-provider

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0