MSMQ Triggers Topics | Previous | Next

Troubleshooting MSMQ Triggers


This section discusses the most common problems encountered when using MSMQ Triggers and describes how to use MSMQ Trigger Monitor, a troubleshooting tool used for capturing and displaying trace and diagnostic information generated by the MSMQ Triggers Service.

Common Problems

This topic describes the most common problems and their causes when using MSMQ Triggers.

The MSMQ Triggers Service fails to start.

Probable causes include the following:

A trigger is defined but it does not appear to be firing.

Probable causes include the following:

The warning "The message "CreateTriggerMonitor() failed to create a new monitor thread as there are already the maximum allowable number of threads in the pool (x)" appears in the Windows event log".

This message is normal when the MSMQ Triggers Service runs under heavy load. It indicates that the maximum number of threads has been reached. You can ignore this warning, or you can increase the maximum number of allowable threads.

Using MSMQ Triggers Monitor

MSMQ Trigger Monitor (Trigmon.exe) is a troubleshooting tool that can be used to capture and view detailed trace and diagnostic information produced by the MSMQ Triggers Service. This tool displays messages as they are issued from the service. Using MSMQ Trigger Monitor, it is possible to trace which threads have fired which triggers for which message.

You can run MSMQ Trigger Monitor by double-clicking Trigmon.exe in Windows Explorer (under \Program Files\Microsoft\MSMQ Triggers).

MSMQ Trigger Monitor provides the following features to assist in trigger testing and development.

Before you can use MSMQ Trigger Monitor, you must first do the following:

  1. Open the Computer Management snap-in.
  2. Right-click Triggers and then click Properties.
  3. On the Triggers configuration tab, select the write to log queue check box.

For more information about using the Computer Management snap-in, see Using MSMQ Triggers.