2

私は古い 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'); 

これは私がすでに試したもののリストです(Google検索)が成功しませんでした:

  • IIS リセット (IIS でホストされている Web サイト)
  • フレームワーク 1.4 && 2.0 の登録
  • sct10en.exe をダウンロードしてインストールhttp://www.microsoft.com/en-us/download /details.aspx?id=1949 (COM コンポーネント)

  • IIS の再インストール

  • COM コンポーネントを手動で登録する

お願いします、それを手伝ってくれませんか?

4

1 に答える 1

0

32 ビットと 64 ビットの問題を確認する必要があります。スクリプト コントロールは 32 ビット コンポーネントのみです。スクリプト コントロールの使用を計画している場合、IIS を 64 ビットとして実行することはできません。

于 2012-12-28T09:44:56.343 に答える