异常信息如下
捕获到执行这句时异常:
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组件中修改如下