Windows error 0x80072024, -2147016668

Detailed Error Information

DS_ADMIN_LIMIT_EXCEEDED[1]

MessageThe administrative limit for this request was exceeded.
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 Code8228 (0x2024)

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

Questions

1vote
2answers

Administrative Limit Exceeded During C# LDAP Search

I am trying to do a LDAP Search however I keep getting the following error: Unhandled Exception: System.Runtime.InteropServices.COMException (0x80072024): T he administrative limit for this request was exceeded. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext () at System.DirectoryServices.DirectorySearcher.FindOne() Here is the code: (The error is thrown at FindOne()) DirectoryEntry dirEntry = new DirectoryEntry("LDAP://myldap.com:1701/ou=People,o=My Company,c=CA", "", [...] read more
c#
exception
active-directory
ldap
directoryentry

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