Solved

Cant view linked server tables etc  - SQL 2000

Posted on 2007-11-28
6
627 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

770 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