You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Azure Cosmos DB Enumerator is working well when running on regular computers, but when I tried to install in on one domain controller machine, I got following error:
Application: DocumentDB.StartupEntryPoint.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Security.Principal.IdentityNotMappedException
at System.Security.Principal.NTAccount.Translate(System.Security.Principal.IdentityReferenceCollection, System.Type, Boolean)
at System.Security.Principal.NTAccount.Translate(System.Type)
at Microsoft.Azure.Documents.Common.SecurityUtil.AccountNameToSid(System.String)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.GetSecurityGroupSid(System.String)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.GatewayInit(System.Fabric.CodePackageActivationContext)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.Main(System.String[])
I checked the code, the problem happens to the following linke
string securityGroupSid = GetSecurityGroupSid("DocDBGatewayService");
which internally try to find the SID for account \DocDBGatewayservice, where on a domain controller, the machine name is not valid account scope. Since the DocDBGatewayservice is not present anyway, so we should try catch and ignore such exception.
The text was updated successfully, but these errors were encountered:
The Azure Cosmos DB Enumerator is working well when running on regular computers, but when I tried to install in on one domain controller machine, I got following error:
Application: DocumentDB.StartupEntryPoint.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Security.Principal.IdentityNotMappedException
at System.Security.Principal.NTAccount.Translate(System.Security.Principal.IdentityReferenceCollection, System.Type, Boolean)
at System.Security.Principal.NTAccount.Translate(System.Type)
at Microsoft.Azure.Documents.Common.SecurityUtil.AccountNameToSid(System.String)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.GetSecurityGroupSid(System.String)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.GatewayInit(System.Fabric.CodePackageActivationContext)
at Microsoft.Azure.Documents.Services.ServiceStartupEntryPoint.ServiceStartupEntryPoint.Main(System.String[])
I checked the code, the problem happens to the following linke
string securityGroupSid = GetSecurityGroupSid("DocDBGatewayService");
which internally try to find the SID for account \DocDBGatewayservice, where on a domain controller, the machine name is not valid account scope. Since the DocDBGatewayservice is not present anyway, so we should try catch and ignore such exception.
The text was updated successfully, but these errors were encountered: