Solved

Cant view linked server tables etc  - SQL 2000

Posted on 2007-11-28
6
629 Views
Last Modified: 2008-09-17
Hi there experts - would appreciate your thoughts on the following issue:

Have added SERVER-A as a linkled server in a SQL 2000 instance on SERVER-B.  From my own PC  I dont appear to be able to view the tables etc on it.  I am getting the error message:

"Login failed for user '(NULL)'. Reason: Not associated with a trusted SQL Server connection"

However - if I go to SERVER-B and login there as myself I can see Linked Server and the tables etc without issue.

Any ideas why?

Thanks
0
Comment
Question by:BravehearT-1326
[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
6 Comments
 
LVL 31

Assisted Solution

by:James Murrell
James Murrell earned 50 total points
ID: 20365802
0
 
LVL 5

Expert Comment

by:gigglick
ID: 20366249
Have you checked to make sure that the "Allow Remote Connections to this Sever" option on the Connection tab of the sever properties box is checked?  Also, if you're going to be pushing or pulling data from the server you should check to "Require Distributed Transactions" option.  

One a totally separate note:  I always script the link instead of using a wizard as I used to get odd bugs when not scripting it.
0
 
LVL 5

Expert Comment

by:gigglick
ID: 20366255
You'll also need remote connections enabled on your PC
Control Panel - System - Remote
0
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
LVL 5

Accepted Solution

by:
MrNetic earned 200 total points
ID: 20366613
BravehearT-1326,

You have to change the linked server configuration on server B.
I guess that you environment is not on a Active Directory, if it isn't do the following steps on server B.
Follow this steps on Server B trough SQL SERVER Enterprise Manager:

Security > Linked Servers > Create New Linked Server > Server Type SQL SERVER (GENERAL) -> Security ->  map the remote sql login and password to your local login.

If this ins't you architecture, please provide more details.

Best Regards,

Paulo Condeça

0
 

Author Comment

by:BravehearT-1326
ID: 20372722
Hi experts - thanks for getting back.

Remote connections are enabled.
I am running SQL in an active directory environment but we dont use delegation.  Suspect this could be a possible cause.  I've also read about the "double hop" issue with security whereby your details are not passed thru to the server on the 2nd hop.  


0
 
LVL 5

Assisted Solution

by:MrNetic
MrNetic earned 200 total points
ID: 20372763
BravehearT-1326,

Have you tried using SQL SERVER AUTHENTICATION in the Linked Server Configuration?

Best Regards.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
query output (script) from a stored procedure 4 39
SQL Job Hung 17 37
SQL Server Resume 5 46
Convert time stamp to date 2 57
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.

730 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