我正在开发一个旧的 vb 应用程序,当我使用这个应用程序时,我收到了以下错误:
document.all["ScoringMessageBox$MessageLabel"].innerHTML = "An error occurred while loading the score model.<br>SUCCESS: Set Model Language<br>FAILED: Set Model parameters<br>ERROR: 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 '{0E59F1D3-1FBE-11D0-8FF2-00A0D10038BC}' failed due to the following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).";
var RedirectAfterClick = document.getElementById('RedirectAfterClick');
这是我已经尝试过的事情列表(谷歌搜索)但没有成功:
- IIS 重置(使用 IIS 托管的网站)
- 注册框架 1.4 && 2.0
下载 sct10en.exe 并安装http://www.microsoft.com/en-us/download /details.aspx?id=1949(COM 组件)
重新安装 IIS
- 手动注册 COM 组件
拜托,你能帮我吗?