首页 > Windows开发 > 详细

C#-Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}

时间:2019-11-25 11:31:46      阅读:98      评论:0      收藏:0      [点我收藏+]

 

异常信息如下

捕获到执行这句时异常:

Excel.Application ep = new Excel.ApplicationClass();

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a.

 

解决:

com组件中修改如下

 

技术分享图片

 

 

C#-Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}

原文:https://www.cnblogs.com/JinweiChang/p/11926602.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!