错误:System.Runtime.InteropServices.COMException(0x80080005):检索COM cl [英] Error:System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM cl
问题描述
大家好,
我正在将托管应用程序迁移到另一台服务器,托管在生成MS文档时完成,单击下载按钮然后出现错误,如Error:System.Runtime。 InteropServices.COMException(0x80080005):由于以下错误,检索CLSID为{000209FF-0000-0000-C000-000000000046}的组件的COM类工厂失败:80080005。
请帮助我出来..... :(
谢谢
Parvati
< blockquote>很难说没有看到导致错误的代码。但最可能的原因是服务器上没有安装Microsoft Office。
感谢Rabbit回复,
Error :: System.Runtime.InteropServices.COMException(0x80080005):由于以下错误,检索CLSID为{000209FF-0000-0000-C000-000000000046}的组件的COM类工厂失败:80080005在APP1.App2.MeetingDocuments.Mai lMerge(String sFileName,String sLoadFile,String sTempFileName,String sHeaderNames,ArrayList ArrData,Int32 randomNum)
MeetingDocuments是aspx页面,
代码:
展开 | 选择 | Wrap | 行号
实际上点击了Generate Button word doc将创建的名为TempDoc的文件夹
谢谢
Parvati
Hi all,
I am migrating an hosted application to another Server,hosting is done while generating MS documents and downloading buttons are clicked then getting error like Error:System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.
Please help me out..... :(
Thanks
Parvati解决方案It''s hard to say without seeing the code that causes the error. But the most likely cause is that Microsoft Office is not installed on the server.
Thanks Rabbit for reply,
Error::System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005. at APP1.App2.MeetingDocuments.MailMerge(String sFileName, String sLoadFile, String sTempFileName, String sHeaderNames, ArrayList ArrData, Int32 randomNum)
MeetingDocuments is aspx page,
code:
Expand|Select|Wrap|Line Numbers
actually onclicking that Generate Button word doc will create in folder called TempDoc
Thanks
Parvati
这篇关于错误:System.Runtime.InteropServices.COMException(0x80080005):检索COM cl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文