Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

linked server works locally .. but not from remote machine and SQL agent jobs are failing to use the linked server

$
0
0

Hi,

    im not able to use linked server remotely (from my desktop) or from SQL agent jobs on an instance INST1 

   linked server point to INST2 .. im able to view objects in linked server tab (in SSMS) and runs select from the server locally (INST1)

even below query works fine 

begin distributed tran
select
 * from [remoteservername].master.sys.sysprocesses
commit tran

     but im not able to view or make jobs (INST1) run fine ... getting below error 


Named Pipes Provider: Could not open a connection to SQL Server [5]. 
OLE DB provider "SQLNCLI10" for linked server "[remoteservername" returned message "Login timeout expired".
OLE DB provider "SQLNCLI10" for linked server "[remoteservername" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.". (Microsoft SQL Server, Error: 5)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.5500&EvtSrc=MSSQLServer&EvtID=5&LinkId=20476


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>