如何解决这个错误:类没有从hresult注册的异常:0x80040154 [英] how to solve this errror: class not registered exception from hresult:0x80040154

查看:997
本文介绍了如何解决这个错误:类没有从hresult注册的异常:0x80040154的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经创建了包含owc11.dll的项目设置,当我尝试在其他机器上部署时,设置正在崩溃并且我没有注册类错误。我想要解决这个问题的紧急解决方案。我正在使用vs 2010&im有.Net framework = 4.0。

Hi,
i have created setup of project consist of owc11.dll, when i try to deploy on other machine set up is getting crashed & i m getting class not registered error. I want urgent solution to fix this problem. i am using vs 2010 & i m having .Net framework =4.0 .

推荐答案

查看这篇文章..它会帮助你..



类未注册(HRESULT异常) :0x80040154(REGDB_E_CLASSNOTREG)) [ ^ ]
Check this post..It would help you..

"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"[^]


看起来你的应用程序正在使用某种未在你遇到错误的机器上安装的COM对象。对于疑难解答,您可以查看表单的源代码,尝试找出它尝试创建的COM对象,这会导致问题。然后在机器上安装所需的COM对象。



这一切都取决于它是什么组件。在大多数情况下,应该有一个安装程序。如果没有,你也可以使用regsvr32.exe
It Seemss like your application is using some sort of COM object that is not installed on the machine on which you are getting error.For troubleshooting you can look into source code of form, try to find out what COM object its trying to create, which is causing issue. Then install required COM object on machine.

it all depends on what component is it. In most cases, there should be a installer. If not, you can also use regsvr32.exe


我的印象是你包含一个非常古老的Microsoft Access数据库版本。您应该更新您的Access数据库。

欲了解更多信息,请参阅例如 http://www.access-diva.com/d5.html [ ^ ] - 特别注意该页面底部的转换提示。
My impression is that you include a very very old, really old version of a Microsoft Access database. You ought to update your Access Database.
For more information see e.g. http://www.access-diva.com/d5.html[^] - especially note the conversion hints on the bottom of that page.


这篇关于如何解决这个错误:类没有从hresult注册的异常:0x80040154的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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