hwo连接其他systam sql server实例throgh链接服务器。 [英] hwo to conect other systam sql server instance throgh linked server.

查看:134
本文介绍了hwo连接其他systam sql server实例throgh链接服务器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下命令连接其他systam sql server实例



select * from [192.168.1.30] .ator..tbl_fs_mst



但是收到错误:

链接服务器192.168.1.30的OLE DB提供程序SQLNCLI10返回消息登录超时已过期。

链接服务器192.168.1.30的OLE DB提供程序SQLNCLI10返回消息建立与SQL Server的连接时发生了与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。检查实例名称是正确的,如果SQL Server配置为允许远程连接。有关详细信息,请参阅SQL Server联机丛书。。

消息53,级别16,状态1,行0

命名管道提供程序:无法打开与SQL Server的连接[53]。





请解释一下为什么我不能连接那个实例并给出解决方案..

解决方案





错误非常具体到问题的原因和位置。



您需要了解的第一件事是:

1)如果远程SQL服务器配置为接受远程连接。

2)如果是本地SQL Server可以解析您引用远程SQL服务器的名称。



这些错误有一个MSDN博客清单,您应该阅读并查看。

修复SQL连接问题的提示和技巧 [ ^ ]。



...希望它有所帮助。

am trying to conect other systam sql server instance using following command

select * from [192.168.1.30].ator..tbl_fs_mst

but reciving error :
OLE DB provider "SQLNCLI10" for linked server "192.168.1.30" returned message "Login timeout expired".
OLE DB provider "SQLNCLI10" for linked server "192.168.1.30" 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].


please explain me why am not able to conect that instance and give solution also..

解决方案

Hi,

The error is pretty specific to what and where the problem is.

The 1st things you need to find out are:
1) If the remote SQL server is configured to accept remote connections.
2) If the local SQL server can resolve the name you are referencing the remote SQL server by.

There is an MSDN blog checklist for these errors, you should read and work though.
Tips and Tricks to fix SQL Connectivity Issues[^].

... hope it helps.


这篇关于hwo连接其他systam sql server实例throgh链接服务器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆