User-1858154435 posted
I'm having an issue with a single customer using our web app (every other customer has had no issues.) when we are trying to find a user from his SID in our web app. We get the following stack trace:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x8007200a): The specified directory service attribute or value does not exist.
]
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +384325
System.DirectoryServices.DirectoryEntry.Bind() +36
System.DirectoryServices.DirectoryEntry.get_SchemaEntry() +33
System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry de) +47
System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry ctxBase, Boolean ownCtxBase, String username, String password, ContextOptions options) +116
System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry(DirectoryEntry entry) +143
System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer() +1113
System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit() +37
System.DirectoryServices.AccountManagement.PrincipalContext.Initialize() +118
System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx() +31
System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate) +14
System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, String identityValue) +73
System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue) +25
DeviceManager.Controllers.HomeController.Index(String msg) in c:\Builds\40\RMGAgile\SES12.5Update1\src\SES12.5\Web\Applications\DeviceManagers\DeviceManager\Controllers\HomeController.cs:22
lambda_method(Closure , ControllerBase , Object[] ) +104
Any ideas what might be causing this? It clearly has to be environmental to the customer since it does not affect the rest of our customer base.
William