针对 SQL Server 2008 使用 SQLDMO/Vb6 时出现问题

发布于 2024-08-25 22:21:17 字数 439 浏览 2 评论 0原文

我有一个客户端,它使用 SQLDMO 作为针对 SQL Server 2000 编写的自定义应用程序的一部分,并且他们最近升级到 SQL Server 2008。

该应用程序的大部分仍然运行良好(不使用 SQLDMO),但是依赖 SQLDMO 的管理功能停止工作。

我安装了 SQL2005 向后兼容包,现在 SQLDMO 可以部分工作,即我可以运行“选择”类型查询,但任何“更新”查询都会失败并显示错误消息:

要连接到您必须使用的服务器SQL Server Management Studio 或 SQL Server 管理对象 (SMO)

有什么想法吗?向后兼容包是否应该给我恢复所有功能,或者这是一个已知问题?

顺便说一句:我意识到 SQLDMO 已被弃用,并将在下一个版本中消失,尽管如此,我需要尽我所能来解决手头的问题。

I have a client, that uses SQLDMO for a portion of a custom application that was written against SQL Server 2000, and they recently upgraded to SQL Server 2008.

The majority of the app still runs fine (doesn't use SQLDMO), but the admin functions which rely on SQLDMO stopped working.

I installed the SQL2005 backward compatibility pack, and now SQLDMO partially works, i.e. I can run "select" type queries, but any "Update" queries fail with the error message:

to connect to the server you must use SQL Server management studio or sql server management objects (SMO)

Any thoughts? Should the backward compatibility pack give me ALL the functionality back, or is this a known issue?

BTW: I realize SQLDMO has been deprecated and will go away next release, none-the-less I need to do what I can to solve the problem at hand.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

醉态萌生 2024-09-01 22:21:17

好吧,我明白了。您不仅需要将“向后兼容包”应用到服务器,还需要在每个客户端工作站上安装(并注册)最新的 SQLDMO.DLL 文件。

希望有一天这可以为其他人节省一些时间。

OK, I figured it out. Not only do you need to apply the "Backward compatibility pack" to the server, you also need to install (and register), the newest SQLDMO.DLL file on each of the client workstations.

Hopefully this save someone else a bit of time someday.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文