V12 DB中的链接服务器到IBM DB2 for i IBMASQL OLE DB提供程序不起作用 [英] Linked server in V12 DB to IBM DB2 for i IBMASQL OLE DB provider does not work

查看:172
本文介绍了V12 DB中的链接服务器到IBM DB2 for i IBMASQL OLE DB提供程序不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从我的V11数据库连接到我的IBM DB2 SQL,但是当我尝试使用我的V12数据库时,它就像连接一样,但没有表格出现,我得到以下错误文本:  ;

I am able to connect to my IBM DB2 SQL from my V11 DB, but when I try with my V12 DB, it acts like it is connecting, but no tables appear and I get the following Error text:  

标题:Microsoft SQL Server Management Studio

----------------------- -------
$


无法检索此请求的数据。 (Microsoft.SqlServer.Management.Sdk.Sfc)



附加信息:



异常发生时执行Transact-SQL语句或批处理。 (Microsoft.SqlServer.ConnectionInfo)



--------------------------- ---



OLE DB提供程序"IBMDASQL"对于链接服务器"KS720A",报告错误。拒绝访问。

无法从OLE DB提供程序"IBMDASQL"获取所需的接口("IID_IDBSchemaRowset")。对于链接服务器"KS720A"。 (Microsoft SQL Server,错误:7399)



TITLE: Microsoft SQL Server Management Studio
------------------------------

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

The OLE DB provider "IBMDASQL" for linked server "KS720A" reported an error. Access denied.
Cannot obtain the required interface ("IID_IDBSchemaRowset") from OLE DB provider "IBMDASQL" for linked server "KS720A". (Microsoft SQL Server, Error: 7399)

推荐答案

启用"允许InProcess"; SQL Server链接服务器中用于IBM OLE DB提供程序的属性是解决
此问题的一种可能方法,因为SQL Server将在与OLE DB提供程序相同的进程空间中运行,这可能允许它具有访问权限使用所需界面所需的权限。


----------------- -------------------------------------------------- -------------------------------------------------

Enabling the "Allow InProcess" property in SQL Server Linked Server for the IBM OLE DB provider is one potential way of resolving this problem, as SQL Server would be running in the same process space as the OLE DB Provider, which may allow it to have the access privileges it requires to use the required interface.

--------------------------------------------------------------------------------------------------------------------


此帖子已提供;按原样"没有保证,也没有授予任何权利。请记住点击  " Mark
as Answer"
 和  "投票
为有用的"
 在可以帮助你的帖子上。这对于阅读
主题的其他社区成员来说是有益的。


这篇关于V12 DB中的链接服务器到IBM DB2 for i IBMASQL OLE DB提供程序不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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