Solved

Cant view linked server tables etc  - SQL 2000

Posted on 2007-11-28
6
625 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
Comment Utility
0
 
LVL 5

Expert Comment

by:gigglick
Comment Utility
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
Comment Utility
You'll also need remote connections enabled on your PC
Control Panel - System - Remote
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 5

Accepted Solution

by:
MrNetic earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
BravehearT-1326,

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

Best Regards.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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.

772 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

10 Experts available now in Live!

Get 1:1 Help Now