Solved

Not associated with a trusted SQL Server connection (Linked Server)

Posted on 2002-06-18
7
14,526 Views
Last Modified: 2012-06-27
I have SQL 7 And SQL 2000.
I would like to setup a trigger in SQL7 that updates a table in SQL2000.
So i created a linked Server in SQL7 pointing to SQL2000.

When i was logged into the SQL server it worked perfectly.

However I logged off and now using the Enterprise manager of another machine to do the work.
When i atempt the connection i get:
Not associated with a trusted SQL Server connection.

I created an Admin user for the Linked Server on SQL2000.

Still no lock.

Please H.E.L.P!!
0
Comment
Question by:talal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 5

Expert Comment

by:spcmnspff
ID: 7092555
Check the security context for the linked server.  Be sure that the use logged in either has an alias on the 2000 machine or you have "Users no listed use the folowing context" checked with the admin acount logon and password entered.

Let Me know . . . =)
0
 

Author Comment

by:talal
ID: 7093194
The user belongs is a domain user and belongs to Admin group of the 2000 machine.
"Users no listed use the folowing context" is set to a domain admin user.

:(

Did not work
0
 
LVL 5

Accepted Solution

by:
spcmnspff earned 200 total points
ID: 7093410
Okay, un the security context on the 7.0 machine, enter in Domain\Username and check impersonate.  This forces the linked server to use the same login on the other side . . .  

Let me know . . .
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:talal
ID: 7093848
sorry, that did not help either.
this is very frustrating!
0
 

Author Comment

by:talal
ID: 7106619
OK, I have not found a solution for this. And as i need to get fast on this here is a detailed description of what we have:
1. I have 2 SQL Servers one is 2000 and one is 7.
2. I am trying to link to them so i can execute a command from the 7 Server (NT4) to the SQL 2000 (Win 2000) Server (in triggers for example).
3. The Servers are in Novell Network. With a Domain controlers.

Here is What i am getting:
a. When i am logged in the server station and the Linked Server SECURITY set to "Use the Logged in security context". It works. However When I log off the station and use the Enterprise Manager of another server it gives me "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'"!.

so,
b. I set the Linked Server security to use MY user Name and password (I am the Admin) but now i got:
"Login failed for user 'NTServer\MyAdmin'. Reason: Not associated with a trusted SQL Server connection."

What am i doing wrong?????????????????????????
0
 

Author Comment

by:talal
ID: 7139080
Sorry, I am deleting this because non of the answers given was correct.
I had to Call Microsoft. And as it turns you can not use NT security for linked servers with SQL 7.

0
 

Author Comment

by:talal
ID: 7472566
Cleaning up....
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question