首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法转换类型为“MSScriptControl.ScriptControlClass”的COM对象

无法转换类型为“MSScriptControl.ScriptControlClass”的COM对象
EN

Stack Overflow用户
提问于 2013-11-21 08:43:46
回答 1查看 1.1K关注 0票数 0

在64位Windows2008计算机上部署VB6 / .NET应用程序时,出现了此错误。

代码语言:javascript
复制
Unable to cast COM object of type 'MSScriptControl.ScriptControlClass' to 
interface type 'MSScriptControl.IScriptControl'. This operation failed because the 
QueryInterface call on the COM component for the interface with IID '{xxx}' failed 
due to the following error: Error loading type library/DLL. (Exception from HRESULT:
0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-11-21 08:43:46

若要解决问题,请运行以下命令

以管理员身份运行CMD

regsvr32 C:\Windows\SysWOW64\MSScript.ocx

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20116068

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档