The trust relationship between this workstation and the primary domain failed
- From: "Namshub" <Ricchard.Pullen@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 22:13:50 +0100
Hi, I'm using Visual Studio 2005 and I'm currently working at home, this
line of code works perfectly well online
If Not (HttpContext.Current.User.IsInRole(SecurityGroup)) Then
But when run disconnected from the network I get the error below. Is this
correct? Is there a different line to determine if i'm in a group which uses
cached credentials????
Regards
Ric
System.SystemException was unhandled by user code
Message="The trust relationship between this workstation and the primary
domain failed.
"
Source="mscorlib"
StackTrace:
at
System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection
sourceAccounts, Boolean& someFailed)
at
System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean& someFailed)
at
System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.WindowsPrincipal.IsInRole(String role)
at DieteticViewer.Global.Application_AuthenticateRequest(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\DieteticViewer\App_Code\Global.asax.vb:line 55
at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
.
- Follow-Ups:
- Re: The trust relationship between this workstation and the primary domain failed
- From: Joe Kaplan \(MVP - ADSI\)
- Re: The trust relationship between this workstation and the primary domain failed
- Prev by Date: Authenticate newly created Member
- Next by Date: Re: Windows authentication in code
- Previous by thread: Authenticate newly created Member
- Next by thread: Re: The trust relationship between this workstation and the primary domain failed
- Index(es):
Relevant Pages
|
|