首页 > 常见问题解决办法 > 测评软件导出Excel失败解决办法(1)

测评软件导出Excel失败解决办法(1)

2017年10月30日

System.Runtime.InteropServices.COMException (0x8007065E): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8007065e 这个类型的数据不受支持。 (Exception from HRESULT: 0x8007065E).

System.Runtime.InteropServices.COMException (0x800AC472): Exception from HRESULT: 0x800AC472
at Microsoft.Office.Interop.Excel._Application.Quit()

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {40942A6C-1520-4132-BDF8-BDC1F71F547B} failed due to the following error: 80040154 没有注册类 (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

System.Runtime.InteropServices.COMException (0x8007065E): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8007065e 这个类型的数据不受支持。 (Exception from HRESULT: 0x8007065E).

原因是国产软件wps office的流氓行为,强制更改微软office的com组件关联
解决办法:
1、安装wps office,重启,卸载wps office,重启
2、卸载微软office,重启
3、安装微软office,重启

本文的评论功能被关闭了.