64位SQL 2008 链接32位SQL 2000 服务器问题

windows 2008 安装64位SQLSERVER 2008 
windows 2003 安装32位SQLSERVER 2000

SQL2008创建SQL2000链接服务器成功,且在列表中能看到数据对象

  但是执行查询语句报如下错误:

链接服务器"10.99.20.200"的 OLE DB 访问接口 "SQLNCLI10" 返回了消息 "Unspecified error"。
链接服务器"10.99.20.200"的 OLE DB 访问接口 "SQLNCLI10" 返回了消息 "The stored procedure required to complete this operation could not be found on the server. Please contact your system administrator."。
消息 7311,级别 16,状态 2,第 1 行
无法获取链接服务器 "10.99.20.200" 的 OLE DB 访问接口 "SQLNCLI10" 的架构行集 "DBSCHEMA_TABLES_INFO"。该访问接口支持该接口,但使用该接口时返回了失败代码。

解决办法:
在sql2000上

运行\cmd  执行 
osql -U数据库用户名 -P数据库密码 -S 服务器IP -i E:\tool\sql2000\Microsoft_sql2ksp4chs1\install\instcat.sql
路径根据实际情况修改

 

本文出自 “杨金澎” 博客,谢绝转载!

你可能感兴趣的:(链接服务器)