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

 

异常信息如下

捕获到执行这句时异常:

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}

 

 

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

上一篇:.Net Core 使用 System.Drawing.Common 在CentOS下报错


下一篇:RESTful API规范