sqlserver2005 远程链接sql2000的数据库报了如下错误,请高手支招!

anson_2008 2012-12-24 01:53:12
链接服务器"SK"的 OLE DB 访问接口 "SQLNCLI" 返回了消息 "Login timeout expired"。
链接服务器"SK"的 OLE DB 访问接口 "SQLNCLI" 返回了消息 "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections."。
消息 5,级别 16,状态 1,第 0 行
Named Pipes Provider: Could not open a connection to SQL Server [5].
...全文
81 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
發糞塗牆 2012-12-24
  • 打赏
  • 举报
回复
首先要排除要LINK的远程服务器防火墙没有问题,即允许SQLSERVER进程通行或例外。 然后检查远程服务器上目标数据库的状态是否正常
anson_2008 2012-12-24
  • 打赏
  • 举报
回复
这个是开了,我和别的服务器可以用链接服务器连接,但是就是有一台服务器上面安装的是sqlserver2000的数据库,我本地是sql2005就是不能用链接服务器链接报如下错误: 链接服务器"SK"的 OLE DB 访问接口 "SQLNCLI" 返回了消息 "Login timeout expired"。 链接服务器"SK"的 OLE DB 访问接口 "SQLNCLI" 返回了消息 "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections."。 消息 5,级别 16,状态 1,第 0 行 Named Pipes Provider: Could not open a connection to SQL Server [5]. 这才不知道怎么处理。别的服务器上我是可以用连接服务器链接的。
發糞塗牆 2012-12-24
  • 打赏
  • 举报
回复
打开SQLServer的named piped服务。

34,587

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧