Automation Error when using ADO/MDAC

孤街浪徒 提交于 2019-12-11 11:51:10

问题


OK, struggling to get a definitive answer to this one...

I have an application written in VB6 which requires MDAC (2.8 for this installation). MDAC is included in the installer for my application. When the software is removed and re-installed on the same machine MDAC seems to go awry and I receive the following error as soon as my application tries to connect to the database:

Run-time error '-2147024769 (8007007f)':

Automation error The specified procedure could not be found.

I have tried reinstalling MDAC which completes successfully, but does not fix the problem. I have searched over much of the Internet and found many people with a similar problem in different environments (VS.NET, JAVA etc), in fact anything that relies on MDAC, but cannot find a clear answer. Anyone who has a clean solution would receive my most merrily given thanks and appreciation.

Yours in bated anticipation.


回答1:


Have you tried the MDAC Component Checker from Microsoft? It is a tool for diagnosing problems and reconfiguring MDAC installations.




回答2:


I have found removing MDAC 2.8 to be all but impossible. However, having run the component checker, changing the registry entries and putting a different version of MSDART the problem has been fixed.

The MSDART I have put in place is not the one suggested by the component checker, but it works. The component checker also has a problem with the version of MSXML, but the software seems to work regardless, so I'll look into this at a later date. However my problem is solved. So very quickly. Thanks and praises to you Mitch, and Stackoverflow. Great!



来源:https://stackoverflow.com/questions/283793/automation-error-when-using-ado-mdac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!