0

在 64 位 Windows 2008 机器上部署 VB6 / .NET 应用程序时出现此错误。

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)).
4

1 回答 1

1

要解决,请运行以下命令

CMD以管理员身份运行

regsvr32 C:\Windows\SysWOW64\MSScript.ocx

于 2013-11-21T08:43:46.403 回答