错误80040154 whean阅读Excel工作表 [英] Error 80040154 whean Reading Excel sheet

查看:378
本文介绍了错误80040154 whean阅读Excel工作表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检索具有CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419}的组件的COM类工厂出厂因以下错误而失败:80040154类未注册。(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG)


在某些Windows 10 64位操作系统中我的应用程序工作正常但是同样的Windows 10 64位操作系统相同的应用程序无法正常工作。应用程序工作是从Excel工作表中读取数据上传到Access数据库。从excel函数触发器读取数据然后
只会出现此错误。

解决方案


检索具有CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419}的组件的COM类工厂出厂因以下错误而失败:80040154类未注册。(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG)


64位和32位组件之间存在某种类型的不兼容性。我建议从这里开始:

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0249eebf-14bd-45f6 -9bca-3b42395a3d13


但您可以搜索错误消息或CLSID以查找有关该问题的大量讨论。


Retrieving the COM class factory factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following error :80040154 class not registered.(exception from HRESULT:0x80040154(REGDB_E_CLASSNOTREG)

In some windows 10 64 bit OS system my application working fine but same windows 10 64 bit OS same application not working. Application work is reading data from Excel sheet and upload to Access database. when reading data from excel function trigger then only this error will appear.

解决方案

Retrieving the COM class factory factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following error :80040154 class not registered.(exception from HRESULT:0x80040154(REGDB_E_CLASSNOTREG)

You have some type of incompatibility between 64-bit and 32-bit components.  I would recommend starting here:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0249eebf-14bd-45f6-9bca-3b42395a3d13

but you can search on the error message or the CLSID to find a lot of discussion about the problem.


这篇关于错误80040154 whean阅读Excel工作表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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