COMException未经处理 [英] COMException was unhandleed

查看:100
本文介绍了COMException未经处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这个脚本之后,



MODI.Document objModi = new MODI.Document();



然后错误消息:

检索具有CLSID {40942A6C-1520-4132-BDF8-BDC1F71F547B}的组件的COM类工厂由于以下错误而失败:80040154.



我该怎么办?

解决方案

确保在您的计算机上正确安装了正确版本的Microsoft Office Document映像组件。


我已经解决了这个问题

使用Microsoft时出现MODI OCR错误Office 2013 in C# - Stack Overflow [ ^ ]

after this script,

MODI.Document objModi = new MODI.Document();

then error message :
Retrieving the COM class factory for component with CLSID {40942A6C-1520-4132-BDF8-BDC1F71F547B} failed due to the following error: 80040154.

What should I do??

解决方案

Make sure that the right versions of Microsoft Office Document imaging components are correctly installed on your machine.


I have solved this problem
MODI OCR error When Using Microsoft Office 2013 in C# - Stack Overflow[^]


这篇关于COMException未经处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆