异常信息如下

捕获到执行这句时异常:

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}

 

 

相关文章:

  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2021-12-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案