Troubleshooting by Using End-to-End Tracing

End-to-end tracing provides valuable information to help troubleshoot problems with message delivery. It tracks the path of a message through its life cycle, from the time that an application sent it to the time that:

  • An application uses the message.

  • The message is deleted because of an error.

  • The message is put in a dead-letter queue.

After a message has been sent, you can look at correlated activities and determine where the message is and why it is there.

End-to-end tracing is disabled by default. Perform the following steps to enable it.

Using end-to-end tracing

To enable end-to-end tracing

  1. In Event Viewer, open Applications and Services Logs.

    Where?

    • Computer Management/Event Viewer/Applications and Services Logs
  2. In the console tree, double-click Microsoft, double-click Windows, and then double-click MSMQ.

  3. In the details pane, right-click End2End, and then click Properties.

  4. On the General tab, select the Enable logging check box.

  5. Click OK.

After you enable it, you can view end-to-end tracing events in Event Viewer. Perform the following steps to view these events.

To view end-to-end tracing events

  1. In Event Viewer, open Applications and Services Logs.

    Where?

    • Computer Management/Event Viewer/Applications and Services Logs
  2. In the console tree, double-click Microsoft, double-click Windows, double-click MSMQ, and then click End2End.

  3. In the details pane, view the end-to-end tracing event.

By default, events for all messages are listed by the date and time on which they occurred, with the most recent events listed first. You can diagnose problems more effectively by correlating the events for each message. Perform the following steps to correlate events for a given message.

To correlate events for a given message

  1. In Event Viewer, open Applications and Services Logs.

    Where?

    • Computer Management/Event Viewer/Applications and Services Logs
  2. In the console tree, double-click Microsoft, double-click Windows, double-click MSMQ, and then click End2End.

  3. Right-click End2End, point to View, and then click Add/Remove Columns.

  4. In Available columns:, click Correlation Id, click Add, and then click OK.

  5. Right-click the Correlation Id column header, and then click Group Events by this column.

Additional considerations

  • To open Computer Management on Windows Vista®, click Start, right-click Computer, and then click Manage.

  • To open Computer Management on Windows Server® 2008, click Start, point to Programs, point to Administrative Tools, and then click Computer Management.