Windows error 0x80072014, -2147016684

Detailed Error Information

DS_OBJ_CLASS_VIOLATION[1]

MessageThe requested operation did not satisfy one or more constraints associated with the class of the object.
Declared inwinerror.h

HRESULT analysis[2]

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

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

Questions

5votes
1answer

C# How to add an entry to LDAP with multiple object classes

I'm trying to create a new user record into OpenLDAP with object classes person and uidObject. The problem seems to be that with System.DirectoryServices.DirectoryEntry I've found only a way to add a new entry with one object class, but not a way to add multiple object classes. This C# code [...] read more
c#
ldap
openldap
1vote
1answer

The requested operation did not satisfy one or more constraints associated with the class of the object?

i have developing project in c# for creating a user in AD. i create a user and i want to create a attribute,like "mobilenumber"for this user. when,i create this,the below error will occured. here my code. if (userDetails.GetUnderlyingObjectType() == typeof(DirectoryEntry)) { dEntry = (DirectoryEntry)userDetails.GetUnderlyingObject(); if (User.UsrPassword != null && User.UsrPassword.Trim() [...] read more
c#
active-directory

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0