Exe Crash在ADODB.Connection与“类不支持自动化” [英] Exe Crash At ADODB.Connection with "Class does not support Automation"

查看:214
本文介绍了Exe Crash在ADODB.Connection与“类不支持自动化”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一台机器上有MSVBVM60.dll的版本6.0.97.82,说OLD。其他机器有MSVBVM60.dll的版本6.0.98.15,说新。 Exe从OLD机器上新ADODB.Connection 行的新机器崩溃中创建,出现以下错误

One machine having MSVBVM60.dll ver 6.0.97.82, say OLD. Other machine having MSVBVM60.dll ver 6.0.98.15, say NEW. Exe created from NEW machine crashes at line new ADODB.Connection on OLD machine giving following error


运行时错误'430':类不支持自动化或不支持
支持预期接口

Run-time error '430': Class does not support Automation or does not support expected interface

摆脱这个?我的主要目标是在新机器上创建的OLD机器上运行exe。为了避免扰乱新机器的配置,我试图取消注册旧版本,并在旧机器注册较新版本,但没有成功。是否有任何其他dll使用的 ADODB.Connection 或者我需要做一些完全不同的东西来摆脱这一点?

How to get rid of this? My prime objective is to run the exe on OLD machine while created on NEW machine. To avoid disturbing config of NEW machine, I tried to unregister older version and register newer version on the OLD machine but no success. Is there any other dll(s) used by ADODB.Connection or i need to do something totally different to get rid of this?

推荐答案

这与VB运行时版本无关,更多的是与ADO库),并且是微软打破其ADO库中的兼容性造成的。

This is nothing to do with the VB runtime versions and more to do with the ADO libraries (as the error line alludes to) and was caused by Microsoft breaking compatability in their ADO libraries.

知识库文章2517589 解释为什么和解决方案,本质上是重新编译兼容性typelib。

KB article 2517589 explains why and the solution which is essentially to recompile against the compatability typelib.

这篇关于Exe Crash在ADODB.Connection与“类不支持自动化”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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