469,927 Members | 1,785 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

vs2005: domain trust relationship problem

Hi guys

I've got the following error on a project which is running locally on a
vs2005 machine (built in webserver), trying to connect to my win2k3 server
active directory.

the error is...

System.SystemException: The trust relationship between this workstation and
the primary domain failed.

How can I fix this? Also, my app is supposed to use integrated windows
authentication - how do I set this up on the vs2005 webserver thingy?!

Cheers
Dan
Jan 12 '06 #1
3 1997
Hi Dan,

From the error message, this seems a domain trust issue, is your webserver
hosting the asp.net web application in the domain other than the domain
you're going to access and retrieve info from? If so, are the two domain
establishing trust relation between each other? When accessing cross
domain's info such as performing windows authentication cross domain ,
there need trust relation between two domains .... You can try checking
this to see whether it is the case...

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: vs2005: domain trust relationship problem
| thread-index: AcYXxO9Pl0NZ6Kb+T+KJhr9DjtZjtg==
| X-WBNR-Posting-Host: 172.203.227.195
| From: "=?Utf-8?B?bXVzb3NkZXY=?=" <mu*******@community.nospam>
| Subject: vs2005: domain trust relationship problem
| Date: Thu, 12 Jan 2006 14:10:02 -0800
| Lines: 18
| Message-ID: <97**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370467
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi guys
|
| I've got the following error on a project which is running locally on a
| vs2005 machine (built in webserver), trying to connect to my win2k3
server
| active directory.
|
| the error is...
|
| System.SystemException: The trust relationship between this workstation
and
| the primary domain failed.
|
| How can I fix this? Also, my app is supposed to use integrated windows
| authentication - how do I set this up on the vs2005 webserver thingy?!
|
| Cheers
|
|
| Dan
|

Jan 13 '06 #2
Hi Steven

Thanks for the reply....

I've actually got round this problem now by using managing to get UNC based
development working, so I don't need to do this now.

However, I'm only using one domain - the one that AD is set up with on my
Win2k3 server, one of the reasons I couldn't understand why I was getting the
error. Can you shed any light on why this didn't work? Be useful to know for
future reference :)

Cheers
Dan

"Steven Cheng[MSFT]" wrote:
Hi Dan,

From the error message, this seems a domain trust issue, is your webserver
hosting the asp.net web application in the domain other than the domain
you're going to access and retrieve info from? If so, are the two domain
establishing trust relation between each other? When accessing cross
domain's info such as performing windows authentication cross domain ,
there need trust relation between two domains .... You can try checking
this to see whether it is the case...

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: vs2005: domain trust relationship problem
| thread-index: AcYXxO9Pl0NZ6Kb+T+KJhr9DjtZjtg==
| X-WBNR-Posting-Host: 172.203.227.195
| From: "=?Utf-8?B?bXVzb3NkZXY=?=" <mu*******@community.nospam>
| Subject: vs2005: domain trust relationship problem
| Date: Thu, 12 Jan 2006 14:10:02 -0800
| Lines: 18
| Message-ID: <97**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370467
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi guys
|
| I've got the following error on a project which is running locally on a
| vs2005 machine (built in webserver), trying to connect to my win2k3
server
| active directory.
|
| the error is...
|
| System.SystemException: The trust relationship between this workstation
and
| the primary domain failed.
|
| How can I fix this? Also, my app is supposed to use integrated windows
| authentication - how do I set this up on the vs2005 webserver thingy?!
|
| Cheers
|
|
| Dan
|

Jan 13 '06 #3
It's hard to say Dan,

Can you reproduce behavior through some other security permission related
operations? e.g impersonate the client user and access some certain
resources on server which is granted access to only specific domain users?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| Thread-Topic: vs2005: domain trust relationship problem
| thread-index: AcYYL/KGu3aQ+vdwTmOlwFqvQnnymQ==
| X-WBNR-Posting-Host: 172.203.227.195
| From: "=?Utf-8?B?bXVzb3NkZXY=?=" <mu*******@community.nospam>
| References: <97**********************************@microsoft.co m>
<Nr**************@TK2MSFTNGXA02.phx.gbl>
| Subject: RE: vs2005: domain trust relationship problem
| Date: Fri, 13 Jan 2006 02:56:03 -0800
| Lines: 87
| Message-ID: <61**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370584
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven
|
| Thanks for the reply....
|
| I've actually got round this problem now by using managing to get UNC
based
| development working, so I don't need to do this now.
|
| However, I'm only using one domain - the one that AD is set up with on my
| Win2k3 server, one of the reasons I couldn't understand why I was getting
the
| error. Can you shed any light on why this didn't work? Be useful to know
for
| future reference :)
|
| Cheers
|
|
| Dan
|
| "Steven Cheng[MSFT]" wrote:
|
| > Hi Dan,
| >
| > From the error message, this seems a domain trust issue, is your
webserver
| > hosting the asp.net web application in the domain other than the domain

| > you're going to access and retrieve info from? If so, are the two
domain
| > establishing trust relation between each other? When accessing cross
| > domain's info such as performing windows authentication cross domain ,
| > there need trust relation between two domains .... You can try checking
| > this to see whether it is the case...
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | Thread-Topic: vs2005: domain trust relationship problem
| > | thread-index: AcYXxO9Pl0NZ6Kb+T+KJhr9DjtZjtg==
| > | X-WBNR-Posting-Host: 172.203.227.195
| > | From: "=?Utf-8?B?bXVzb3NkZXY=?=" <mu*******@community.nospam>
| > | Subject: vs2005: domain trust relationship problem
| > | Date: Thu, 12 Jan 2006 14:10:02 -0800
| > | Lines: 18
| > | Message-ID: <97**********************************@microsoft.co m>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:370467
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi guys
| > |
| > | I've got the following error on a project which is running locally on
a
| > | vs2005 machine (built in webserver), trying to connect to my win2k3
| > server
| > | active directory.
| > |
| > | the error is...
| > |
| > | System.SystemException: The trust relationship between this
workstation
| > and
| > | the primary domain failed.
| > |
| > | How can I fix this? Also, my app is supposed to use integrated
windows
| > | authentication - how do I set this up on the vs2005 webserver thingy?!
| > |
| > | Cheers
| > |
| > |
| > | Dan
| > |
| >
| >
|

Jan 17 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Minal | last post: by
9 posts views Thread by Jeff Gaines | last post: by
5 posts views Thread by Dany C. | last post: by
3 posts views Thread by Anonymous | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.