Solved

Cant view linked server tables etc  - SQL 2000

Posted on 2007-11-28
6
626 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
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now