Solved

Linked Server Error Message

Posted on 2011-03-15
5
782 Views
Last Modified: 2012-05-11
I'm trying to set up a linked server.
Both servers runnning SQL Server Std Edi 2008 r2
Ad hoc reporting is enable, but still generating the following error message.

The linked server has been created but failed a connection test.  Do you want to keep the linked server?
 An exception occurred while executing a Transact-SQL statement or batch (Microsoft-SqlServer.ConnectionInfo)
 NamedPipes Provider: Could not open a connection to SQL Server (53)
 OLE DB provider 'SQLNCLI10' for linked server ----------------returned message Login timeout expired.
 etc.
0
Comment
Question by:Favorable
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
Comment Utility
If the timeout expired, it usually means one a few things things:
The linked server isn't set up properly - it's attempting to connect to a different IP or port than the one the remote server is using
Remote server is not currently listening for new connections (or running at all)
Remote server access is blocked by some kind of firewall or restriction

Can you confirm that you can connect to the remote server via other client tools? Are there any firewalls in place between your SQL Server and the remote server you're connecting to?
0
 

Assisted Solution

by:Favorable
Favorable earned 0 total points
Comment Utility
please close question.
0
 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 500 total points
Comment Utility
Did my response answer your question, or did you find another solution? You can close the question yourself by either selecting my answer, or by requested that it be closed for another reason.
0
 

Author Comment

by:Favorable
Comment Utility
I have requested question closed.
0
 

Author Closing Comment

by:Favorable
Comment Utility
accepted
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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