Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > "The trust relationship between this workstation and the primary domain failed" displayed on the web page

Reply
Thread Tools

"The trust relationship between this workstation and the primary domain failed" displayed on the web page

 
 
Steve M
Guest
Posts: n/a
 
      04-26-2005
A few users today received the message "The trust relationship between this
workstation and the primary domain failed" on their web browser while using
an ASP.NET web app. The problem went away but has anyone seen this before
on a error page? I think it occured when users were reporting general slow
web performance. I've seen it while users try to log into an NT domain from
their desktops but not while using a web browser. Users can log in fine
into the domain and the IIS 5 web server (Win2k SP4 fully patched) is fine
as well.

Any ideas?

Here is the error:

The trust relationship betweem this workstation and the primary domain
failed

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about error and where it originated in the code.

Source Error:

An unhandled exception was generated during the execution of the current web
request....

Stack Trace:

[ApplicationException: The trust relationship betweem this workstation and
the primary domain failed.

System.Security.Principal.WindowsIndentity._Resolv eIdentity(IntPtr
userToken) +0
System.Security.Principal.WindowsIndentity.get_Nam e() +71
System.Web.Configuration.AuthorizationConfigRule.I sUserAllowed(IPrincipal
user, String verb) +106
System.Web.Configuration.AuthorizationConfig.IsUse rAllowed(IPrincipal user,
String verb) +81
System.Web.Security.UrlAuthorizationModule.OnEnter (Object source, EventArgs
eventArgs) +181
System.Web.SyncEventExecutoinStep.System.Web.HttpA pplication+IExecutionStep.
Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) + 87


Version Information: Microsoft .Net Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032



 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      04-27-2005
Hi Steve:

Have you seen some of support documents for this error message?

http://www.google.com/search?hl=en&l....microsoft.com

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 26 Apr 2005 16:10:37 -0400, "Steve M" <>
wrote:

>A few users today received the message "The trust relationship between this
>workstation and the primary domain failed" on their web browser while using
>an ASP.NET web app. The problem went away but has anyone seen this before
>on a error page? I think it occured when users were reporting general slow
>web performance. I've seen it while users try to log into an NT domain from
>their desktops but not while using a web browser. Users can log in fine
>into the domain and the IIS 5 web server (Win2k SP4 fully patched) is fine
>as well.
>
>Any ideas?
>
>Here is the error:
>
>The trust relationship betweem this workstation and the primary domain
>failed
>
>Description: An unhandled exception occurred during the execution of the
>current web request. Please review the stack trace for more information
>about error and where it originated in the code.
>
>Source Error:
>
>An unhandled exception was generated during the execution of the current web
>request....
>
>Stack Trace:
>
>[ApplicationException: The trust relationship betweem this workstation and
>the primary domain failed.
>
>System.Security.Principal.WindowsIndentity._Resol veIdentity(IntPtr
>userToken) +0
>System.Security.Principal.WindowsIndentity.get_Na me() +71
>System.Web.Configuration.AuthorizationConfigRule. IsUserAllowed(IPrincipal
>user, String verb) +106
>System.Web.Configuration.AuthorizationConfig.IsUs erAllowed(IPrincipal user,
>String verb) +81
>System.Web.Security.UrlAuthorizationModule.OnEnte r(Object source, EventArgs
>eventArgs) +181
>System.Web.SyncEventExecutoinStep.System.Web.Http Application+IExecutionStep.
>Execute() +60
>System.Web.HttpApplication.ExecuteStep(IExecution Step step, Boolean&
>completedSynchronously) + 87
>
>
>Version Information: Microsoft .Net Framework Version:1.1.4322.2032; ASP.NET
>Version:1.1.4322.2032
>
>


 
Reply With Quote
 
 
 
 
Steve M
Guest
Posts: n/a
 
      04-28-2005
Yes, I did google it but all the articles just talk about this error when
you try to log into your workstation. This error is only appearing in IE
while using an ASP.NET app. It also goes away soon after.

Any ideas?


"Scott Allen" <> wrote in message
news:...
> Hi Steve:
>
> Have you seen some of support documents for this error message?
>
>

http://www.google.com/search?hl=en&l....microsoft.com
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
>
> On Tue, 26 Apr 2005 16:10:37 -0400, "Steve M" <>
> wrote:
>
> >A few users today received the message "The trust relationship between

this
> >workstation and the primary domain failed" on their web browser while

using
> >an ASP.NET web app. The problem went away but has anyone seen this

before
> >on a error page? I think it occured when users were reporting general

slow
> >web performance. I've seen it while users try to log into an NT domain

from
> >their desktops but not while using a web browser. Users can log in fine
> >into the domain and the IIS 5 web server (Win2k SP4 fully patched) is

fine
> >as well.
> >
> >Any ideas?
> >
> >Here is the error:
> >
> >The trust relationship betweem this workstation and the primary domain
> >failed
> >
> >Description: An unhandled exception occurred during the execution of the
> >current web request. Please review the stack trace for more information
> >about error and where it originated in the code.
> >
> >Source Error:
> >
> >An unhandled exception was generated during the execution of the current

web
> >request....
> >
> >Stack Trace:
> >
> >[ApplicationException: The trust relationship betweem this workstation

and
> >the primary domain failed.
> >
> >System.Security.Principal.WindowsIndentity._Resol veIdentity(IntPtr
> >userToken) +0
> >System.Security.Principal.WindowsIndentity.get_Na me() +71
> >System.Web.Configuration.AuthorizationConfigRule. IsUserAllowed(IPrincipal
> >user, String verb) +106
> >System.Web.Configuration.AuthorizationConfig.IsUs erAllowed(IPrincipal

user,
> >String verb) +81
> >System.Web.Security.UrlAuthorizationModule.OnEnte r(Object source,

EventArgs
> >eventArgs) +181

>
>System.Web.SyncEventExecutoinStep.System.Web.Http Application+IExecutionStep

..
> >Execute() +60
> >System.Web.HttpApplication.ExecuteStep(IExecution Step step, Boolean&
> >completedSynchronously) + 87
> >
> >
> >Version Information: Microsoft .Net Framework Version:1.1.4322.2032;

ASP.NET
> >Version:1.1.4322.2032
> >
> >

>



 
Reply With Quote
 
dar7ren dar7ren is offline
Junior Member
Join Date: May 2009
Location: Malta
Posts: 1
 
      05-27-2009
Initially I was planning to use RoleManagement and Forms Auth. Then I decided to use Windows Auth as we are using application on an intranet.

I experienced this prolem on the UpdateLog.aspx page only.. no wonder as in the web.config I had previuosly stated:

<location path="UpdateLog.aspx">
<system.web>

<authorization>
<!--
<allow roles="Admin"/>
<deny users="*"/>
-->
</authorization>
</system.web>
</location>
,,,,
uncommenting the above 2 lines solved my current problem.

Darren

LCD Tv Trouble?
AllTvRepairs.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The trust relationship between this workstation and the primary do MrGrundh ASP .Net Security 0 08-27-2009 09:08 AM
using AD security for authentication. The trust relationship betweenthe primary domain and the trusted domain failed. wildman@noclient.net ASP .Net 1 02-29-2008 04:01 PM
The trust relationship between this workstation and the primary domain failed Namshub ASP .Net Security 1 06-28-2006 09:39 PM



Advertisments