Windows イベント ログの Commerce Server エラー


解説

Commerce Serverインスタンスでプロファイル関連のエラーが発生した場合、Windowsイベント ログに実際のエラー メッセージが出力されず、代わりに次のようなメッセージが出力される可能性があります:

The description for Event ID 32799 from source Commerce Server cannot be found.
Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
the message resource is present but the message is not found in the string/message table

この問題は、Commerce Server 10.0で発生します。

原因

必要なイベント メッセージ ファイルの1つが、インストール中に正しくインストールされず登録されなかったことが原因です。

解決策

この問題を解決するには、以下の手順を実行してください:

  1. 不足しているファイルをコピーします。

    不足しているファイル「CSDWMsg.dll」をダウンロードし、Commerce Serverインストール フォルダの場所にコピーします(デフォルトでは、Commerce Server は「C:\Program Files (x86)\Commerce Server 10」フォルダにインストールされます)。

  2. Windowsレジストリを更新します。

    デフォルトのCommerce Server 10.xインストールの場合、以下の名前のキー配下の値を探します。

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Commerce Server:
    Value name: EventMessageFile
    Value data:

    上記の値のデータを、元の値から次のように変更します。
    変更前:

    C:\Program Files (x86)\Commerce Server 10\UPM\Mscsresource.dll

    変更後:

    C:\Program Files (x86)\Commerce Server 10\UPM\Mscsresource.dll; C:\Program Files (x86)\Commerce Server 10\CSDWMsg.dll

    Commerce Serverの既定のインストール場所を変更した場合、上記の既定のインストール値を実際のインストール ディレクトリの場所に置き換える必要があります。

  3. 変更を有効にするために、マシンを再起動しなければならない場合があります。