Commerce Server errors in Windows Event Log


Description

If your Commerce Server instances encounter some profile-related errors, the Windows Event Log might not display real error messages. Instead you will probably see messages similar to the below one:

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

This issue affects Commerce Server 10.0.

Cause

One of the required Event Message Files has not been properly installed and registered during the installation.

Solution

To fix this problem, proceed as follows:

  1. Copy the missing file

    Download the missing file "CSDWMsg.dll" and copy it under your Commerce Server installation folder location (by default, Commerce Server is installed under the "C:\Program Files (x86)\Commerce Server 10" folder).


  2. Update Windows registry

    For the default Commerce Server 10.x installation, under the key named:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Commerce Server:
    Value name: EventMessageFile
    Value data:
    Change the original value of

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

    to

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

    If you have changed the default Commerce Server installation location, you need to replace the above default install values with the actual install directory locations.


  3. You may need to reboot your machine to have the change take effect.