From: Dean Slindee on
While the below might look like a Domain or ActiveDirectory error, it may
not be, but rather some type of .Net Framework 2.0 error. At the start of
the application the user is assigned to a WindowsPrincipal class in a
referenced project. For whatever reason, the security role is dropped, and
this error appears. Anyone have any suggestions on how to further debug
this error?

Exception Source: mscorlib
Exception Type: System.SystemException
Exception Message: The trust relationship between the primary domain
and the trusted domain failed.

Exception Target Site: TranslateToSids

---- Stack Trace ----
System.Security.Principal.NTAccount.TranslateToSids(sourceAccounts As
IdentityReferenceCollection, someFailed As Boolean&)
FacilityShelter.exe: N 01167
System.Security.Principal.NTAccount.Translate(sourceAccounts As
IdentityReferenceCollection, targetType As Type, someFailed As Boolean&)
FacilityShelter.exe: N 00042
System.Security.Principal.NTAccount.Translate(sourceAccounts As
IdentityReferenceCollection, targetType As Type, forceSuccess As
Boolean)
FacilityShelter.exe: N 00046
System.Security.Principal.WindowsPrincipal.IsInRole(role As String)
FacilityShelter.exe: N 00205
Security.clsUserRoles.FormUserRoles(frm As Form, strUserID As String,
strCn As String, booSecurityOn As Boolean)
FacilityShelter.exe: N 01663
FacilityShelter.frmFacilityReservationTransaction.FormPaint()
FacilityShelter.exe: N 00265