Windows error 0x8007200A, -2147016694

Detailed Error Information

DS_NO_ATTRIBUTE_OR_VALUE[1]

MessageThe specified directory service attribute or value does not exist.
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 Code8202 (0x200a)

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

Questions

3votes
1answer

Retrieving AD group membership failing on remote call from debug

I have an ASP.NET application which relies heavily on AD authentication. We recently broke out a service which used to live in the same solution as the application into its own solution, so that we could maintain them seperately and not impact users who rely on the service when, say, [...] read more
c#
asp.net
active-directory
3votes
2answers

GroupPrincipal throwing "System.Runtime.InteropServices.COMException (0x8007200A): The specified directory service attribute or value does not exist."

I'm using System.DirectoryServices.AccountManagement to query for a user and then find the groups for that user. var _principalContext = new PrincipalContext(ContextType.Domain, domainAddress, adContainer, adQueryAccount, adQueryAccountPassword); var user = UserPrincipal.FindByIdentity(_principalContext, IdentityType.SamAccountName, account); var userGroups = user.GetGroups(); foreach (var group in userGroups.Cast<GroupPrincipal>()) { ////////////////////////////////////////////////////// // getting the underlying DirectoryEntry shown // to [...] read more
c#-4.0
active-directory
account-management
groupprincipal
0votes
2answers

Active Directory search from wcf and asmx services failing

I have a simple setup below to search for users. DirectoryEntry rootEntry = new DirectoryEntry("LDAP://someserver:123/OU=d-users,DC=domain,DC=x,DC=y,DC=com"); rootEntry.AuthenticationType = AuthenticationTypes.None; string filter = "sAMAccountName=" + AccountName; DirectorySearcher searcher = new DirectorySearcher(rootEntry, filter); SearchResult foundUser = searcher.FindOne(); For some reason I can search via a simple Console/windows forms app but cannot search from [...] read more
c#
wcf
active-directory
ldap
asmx

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