-2
爲什麼當我將它鏈接到服務器時無法訪問該表?這裏有什麼問題?謝謝!無法連接到鏈接的服務器
EXEC sp_addlinkedserver
@server='172.xx.xxx.xx\ABC',
@srvproduct='',
@provider='SQLNCLI',
@datasrc='ABC_XYZ'
SELECT * FROM [172.xx.xxx.xx\ABC].[ABC_XYZ].DBO.TABLETOACCESS
我不斷收到:
OLE DB provider "SQLNCLI10" for linked server "172.xx.xxx.xx\ABC" returned message "Login timeout expired".
OLE DB provider "SQLNCLI10" for linked server "1172.xx.xxx.xx\ABC" 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.".
Msg 53, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [53].
提供的證書? – lad2025
我在哪裏放置它們?謝謝@ lad2025我使用select * from sys.servers它被添加到那裏 –
SSMS,右鍵單擊鏈接服務器,[wizzard](http://sqlmag.com/site-files/sqlmag.com/files/uploads/2014/05 /Chessman_SQL2472_Fig3_LinkedServer_Part1.jpg),左邊安全標籤 – lad2025