Step1:

运行comexp.msc -32

注意因为excel 是32 位的,所以这里用的32位的操作, 如用64位的操作命令:dcomcnfg.exe,将找不到excel com

进入component service

 

Step2, 找到excel设置安全属性

 解决window 12 service  不能调用excel ,报"System.Runtime.InteropServices.COMException (0x800A03EC)

 

 

Step3->增加用户,赋予权限

 解决window 12 service  不能调用excel ,报"System.Runtime.InteropServices.COMException (0x800A03EC)

 

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2021-09-09
  • 2021-11-02
  • 2022-03-01
  • 2022-01-10
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-04-23
  • 2021-12-07
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案