Share via


Event ID 2158 — Message Queuing Mapping Operation

Applies To: Windows Server 2008

Message Queuing uses mapping files to redirect messages to the proper queue.

Event Details

Product: Windows Operating System
ID: 2158
Source: MSMQ
Version: 6.0
Symbolic Name: QUEUE_ALIAS_INVALID_MAPPING_FILE
Message: The mapping file %1 was ignored because it was improperly formatted.

Resolve

Ensure that the XML file is valid and that queue mappings are correct

The mapping file that is referred to is not formatted properly. Confirm that the mapping file is a valid XML document with correct queue mappings.

For more information about Message Queuing mapping files, see HTTP Message Redirection (https://go.microsoft.com/fwlink/?LinkId=104806).

Verify

Verify that the MSMQ Service is installed and running. Also, verify the presence of the mapping directory.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that the MSMQ Service is installed and running:

  1. Open the Services snap-in. To open Services, click Start. In the search box, type services.msc, and then press ENTER.
  2. Locate the Message Queuing service, and then confirm that the value in the Status column is Started.

Also, confirm that the %windir%\System32\msmq\Mapping directory is present.

Message Queuing Mapping Operation

Message Queuing