Solved

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

Posted on 2002-06-18
7
14,532 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

617 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