vs2005: domain trust relationship problem

G

Guest

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
 
S

Steven Cheng[MSFT]

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=?=" <[email protected]>
| Subject: vs2005: domain trust relationship problem
| Date: Thu, 12 Jan 2006 14:10:02 -0800
| Lines: 18
| Message-ID: <[email protected]>
| 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!TK2MSFTNGXA03.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
|
 
G

Guest

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
 
S

Steven Cheng[MSFT]

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=?=" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: RE: vs2005: domain trust relationship problem
| Date: Fri, 13 Jan 2006 02:56:03 -0800
| Lines: 87
| Message-ID: <[email protected]>
| 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=?=" <[email protected]>
| > | Subject: vs2005: domain trust relationship problem
| > | Date: Thu, 12 Jan 2006 14:10:02 -0800
| > | Lines: 18
| > | Message-ID: <[email protected]>
| > | 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!TK2MSFTNGXA03.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
| > |
| >
| >
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top