检索具有CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9}的组件的COM类工厂由于以下错误而失败:80040154未注册类(HRESULT异常:... [英] Retrieving the COM class factory for component with CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT:...

查看:130
本文介绍了检索具有CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9}的组件的COM类工厂由于以下错误而失败:80040154未注册类(HRESULT异常:...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用SWFToImage.dll导出图表到Word,它在ASP.NET网站上工作正常。

但是在IIS中主机相同后我得到了以下错误。



System.Runtime.InteropServices.COMException:由于以下错误,检索具有CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9}的组件的COM类工厂失败:80040154类未注册(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG))。



有关如何更正此错误的建议吗?



Thakns

Ravikumar

解决方案

服务器上未安装SWFToImage.dll或Word(或两者) IIS运行的机器。


它清楚地表明dll没有注册,尝试在iis运行的机器上安装dll,或检查你的引用是否正确引用了dll你引用dll时搞砸了同样的例外情况

Hi, I used SWFToImage.dll for Export Charts to Word, it''s working fine in ASP.NET Website.
But after host the same in IIS i am getting the below error.

System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Any suggestions on how to correct this error?

Thakns
Ravikumar

解决方案

Either SWFToImage.dll or Word (or both) is not installed on the server machine where IIS running.


It clearly says that the dll is not registered, try installing the dll`s in the iis running machine or check whether the dll`s your referring is properly referred if you have messed up while referring the dll`s also the same exception arises.


这篇关于检索具有CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9}的组件的COM类工厂由于以下错误而失败:80040154未注册类(HRESULT异常:...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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