Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

SQL Server - Linked Server error - Could not connect to server XYZ because

$
0
0

Server being used: SQL Server 2012 SP3
I just received a strange error (strange because it worked earlier)

could not connect to server LNK_SRV because sa is not defined as a remote login

enter image description here Not sure why we are receiving the error.

The sys.servers says is_linked = 0 for LNK_SRV - not sure why. The following returns results

select top 10 * from LNK_SRV.DBName.dbo.TblName

But the procedures are failing

exec LNK_SRV.DBName.dbo.ProcName

It was working fine before we dropped the linked server and re-added it.
Also, the LNK_SRV is being used as for replication as well.

Note: I am aware sa is bad. It will be taken care soon.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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