42 references to Error
System.DirectoryServices.AccountManagement (42)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (5)
150GlobalDebug.WriteLineIf(GlobalDebug.Error, 198GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADAMStoreCtx", "SetupPasswordModification: caught TargetInvocationException with message " + e.Message); 271GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADAMStoreCtx", "PopulatAuxObjectList Unable to read schemaNamingContrext from " + userSuppliedServerName); 292GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADAMStoreCtx", "PopulatAuxObjectList Unable to read ldapDisplayName from " + SchemaNamingContext); 310GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADAMStoreCtx", "PopulatAuxObjectList COM Exception");
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (5)
410GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADStoreCtx", "Insert, Save Failed (attempting to delete) Exception {0} ", e.Message); 424GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADStoreCtx", "Insert, Deletion Failed {0} ", deleteFail.Message); 446GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADStoreCtx", "Invalid targetPermission in AccessCheck"); 930GlobalDebug.WriteLineIf(GlobalDebug.Error, "ADStoreCtx", "ChangePassword: computer acct, can't change password."); 2558GlobalDebug.WriteLineIf(GlobalDebug.Error,
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
180GlobalDebug.WriteLineIf(GlobalDebug.Error, "RangeRetriever", "GetNextChunk: caught COMException, ErrorCode={0}", e.ErrorCode);
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (4)
291GlobalDebug.WriteLineIf(GlobalDebug.Error, "SDSUtils", "ApplyChangesToDirectory: caught COMException with message " + e.Message); 318GlobalDebug.WriteLineIf(GlobalDebug.Error, "SDSUtils", "SetPassword: caught TargetInvocationException with message " + e.Message); 352GlobalDebug.WriteLineIf(GlobalDebug.Error, "SDSUtils", "ChangePassword: caught TargetInvocationException with message " + e.Message); 466GlobalDebug.Error,
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
192GlobalDebug.WriteLineIf(GlobalDebug.Error, "AuthZSet", "Caught exception {0} with message {1}", e.GetType(), e.Message);
System\DirectoryServices\AccountManagement\Context.cs (3)
653GlobalDebug.WriteLineIf(GlobalDebug.Error, 756GlobalDebug.WriteLineIf(GlobalDebug.Error, "PrincipalContext", 910GlobalDebug.WriteLineIf(GlobalDebug.Error,
System\DirectoryServices\AccountManagement\Principal.cs (2)
419GlobalDebug.WriteLineIf(GlobalDebug.Error, "Principal", "Save(context):, Update Failed (attempting to move back) Exception {0} ", e.Message); 431GlobalDebug.WriteLineIf(GlobalDebug.Error, "Principal", "Save(context):, Move back Failed {0} ", deleteFail.Message);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (1)
414GlobalDebug.WriteLineIf(GlobalDebug.Error,
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
441GlobalDebug.WriteLineIf(GlobalDebug.Error, "SAMStoreCtx", "UnlockAccount: caught COMException, message={0}", e.Message);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (3)
493GlobalDebug.WriteLineIf(GlobalDebug.Error, 579GlobalDebug.WriteLineIf(GlobalDebug.Error, 1136GlobalDebug.WriteLineIf(GlobalDebug.Error,
System\DirectoryServices\AccountManagement\SAM\SAMUtils.cs (1)
43GlobalDebug.WriteLineIf(GlobalDebug.Error, "SAMUtils", "GetOSVersion: caught COMException with message " + e.Message);
System\DirectoryServices\AccountManagement\Utils.cs (15)
161GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "ConvertByteArrayToIntPtr: caught exception of type " 374GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenProcessToken failed, gle=" + lastError); 381GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenThreadToken failed, gle=" + error); 403GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: GetTokenInformation (1st try) failed, gle=" + getTokenInfoError); 424GlobalDebug.WriteLineIf(GlobalDebug.Error, 445GlobalDebug.WriteLineIf(GlobalDebug.Error, 481GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaOpenPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err)); 496GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaQueryInformationPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err)); 515GlobalDebug.WriteLineIf(GlobalDebug.Error, 568GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetDcName: DsGetDcName failed, err=" + err); 612GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (1st try) failed, gle=" + lastErr); 631GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (2nd try) failed, gle=" + lastErr); 759GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: LogonUser failed, gle=" + lastError); 769GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: ImpersonateLoggedOnUser failed, gle=" + lastError); 801GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "IsMachineDC: DsRoleGetPrimaryDomainInformation failed, err=" + err);