SQL 2000 链接服务器访问被拒绝错误的优势
我正在尝试分别使用 Advantage OLE DB Provider(32 位和 64 位)在 SQL Server 2000 和 SQL Server 2005 x64 中创建到 Sybase Advantage 数据库的链接服务器。
当尝试浏览目录以及从两个 SQL Server 中使用 openquery 执行查询时,我不断收到以下错误:
OLE DB error trace [OLE/DB Provider 'Advantage OLE DB Provider' IUnknown::QueryInterface returned 0x80070005: Access denied.].
Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Advantage OLE DB Provider' reported an error. Access denied.
以下 Stack Overflow 问题和答案帮助我解决了 SQL Server 2005 x64 上的此问题:
< a href="https://stackoverflow.com/questions/4762415/advantage-to-sql-2008-linked-server-access-denied-error">SQL 2008 链接服务器访问拒绝错误的优点
但是,尽管按照上面的建议设置了Allow inprocess
,但在 SQL Server 2000 中我仍然收到拒绝访问错误。
两个链接服务器使用相同的数据源、登录凭据和服务器选项。非常感谢任何帮助。
I am trying to create linked servers in SQL Server 2000 and SQL Server 2005 x64 to a Sybase Advantage database using the Advantage OLE DB Provider, 32-bit and 64-bit respectively.
I kept getting the following error when trying to browse the catalog and when performing a query with openquery from both SQL Servers:
OLE DB error trace [OLE/DB Provider 'Advantage OLE DB Provider' IUnknown::QueryInterface returned 0x80070005: Access denied.].
Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Advantage OLE DB Provider' reported an error. Access denied.
The following Stack Overflow question and answer helped me resolve this problem on SQL Server 2005 x64:
Advantage to SQL 2008 Linked Server Access Denied Error
However, I am still getting the access denied error in SQL Server 2000, despite setting Allow inprocess
as suggested above.
Both linked servers use the same data source, login credentials and server options. Any help is greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在查询分析器中运行查询。您应该看到返回的 Advantage 特定 OLE DB 错误。例如:
在这种情况下,这是一个错误的用户/密码
Try running a query in the Query Analyzer. You should see the Advantage specific OLE DB errors returned. For example:
In this case it was a bad user/password