Windows error 0x80072037, -2147016649

Detailed Error Information

DS_NAMING_VIOLATION[1]

MessageThere is a naming violation.
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 Code8247 (0x2037)

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

Questions

4votes
2answers

C# Error trying Creating Organizational unit with spaces

So I have a program that needs to add a new organizational unit under another OU. The format has to be as it is in the code below. Problem is I keep getting the same exception if I put spaces in in the name. I am able to manually add [...] read more
c#
active-directory
directoryentry
organizational-unit

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