阅读背景:

C#操作office组件(excel、word、ppt)报错问题!

来源:互联网 

最近发现了一个奇怪的问题,C#无法调用office的组件,提示报错,相关信息如下:

Unable to cast COM object of type 'Microsoft.Office.Interop.PowerPoint.ApplicationClass' to interface type 'Microsoft.Office.Interop.PowerPoint._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: 加载类型库/DLL 时出错。 (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).Una




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: