Solved

Linked Server Error Message

Posted on 2011-03-15
5
788 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
[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
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 35140447
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
ID: 35243783
please close question.
0
 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 500 total points
ID: 35244704
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
ID: 35389418
I have requested question closed.
0
 

Author Closing Comment

by:Favorable
ID: 35414487
accepted
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Help 27 69
sql how to count case when 4 29
Job - date manual 1 43
How can I find this data? 3 28
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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