Windows error 0x8007202C, -2147016660

Detailed Error Information

DS_UNAVAILABLE_CRIT_EXTENSION[1]

MessageThe server does not support the requested critical extension.
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 Code8236 (0x202c)

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

Questions

0votes
0answers

How to get rid of DirectoryServicesCOMException while searching in Active Directory using C#?

I know how to fetch data from Active Directory using C# and System.DirectoryService. I have a sample here: var rootEntry = new DirectoryEntry("LDAP://mydomain.local", "UserName", "Password"); var searcher = new DirectorySearcher(rootentry); searcher.CacheResults = false; searcher.SearchScope = System.DirectoryServices.SearchScope.Subtree; searcher.PageSize = 1000; searcher.Filter = "Some LDAP Query"; searcher.PropertiesToLoad.AddRange(new[] { "objectguid", "name", "objectclass" }); [...] 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