链接服务器连接问题?

Linked Server Connectivity Issues?

我的链接服务器直到现在都很好,我正在使用一些连接语句来过滤数据,但突然返回以下错误。我无法对我的链接服务器执行任何查询。

链接服务器仍然可用,因为我尝试从服务器对象进行测试连接并且成功

Msg 65535, Level 16,State 1, Line 0

Sql Server Interface:Error Loading Server/Instance Specified (xfffffff)

oledb provider sqlnc111 for linked server "MSNAC/MSDB5" returned an error " A login time out expired

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.

如何解决这个问题?

如果没有人进行任何配置更改,您的查询可能会因为大数据更改而超时。至少暂时尝试设置以下选项:

USE Yourdatabase;
GO

EXEC sp_configure 'remote query timeout', 0;
GO

RECONFIGURE;
GO

如果这些设置没有问题,那么您的查询只是因为设置的限制而超时。对您的查询进行一些试验,看看放入此属性的适当限制是什么(将其保留为无穷大不是一个好主意)并再次重新配置。

注意:数字以秒为单位。

要阅读有关此问题的更多信息,请查看 documentation for remote query timeout