A Trigger Is Defined, But It Does Not Appear to Be Firing

Updated: June 25, 2007

Applies To: Windows Server 2008

Describes a specific problem with Message Queuing triggers. Includes recommendations for fixing the problem.

This problem typically occurs when you have defined a Message Queuing trigger but the trigger does not appear to be firing. A message is received by a Message Queuing queue that is monitored by a trigger but none of the rules associated with the trigger are executed.

A trigger may fail to fire for several reasons including the following:

  • The trigger is not enabled.

  • The account under which the Message Queuing Triggers service is running has not been granted the Peek Message permission for the monitored queue. Or, if the message processing type of the trigger is "retrieval" or "transactional retrieval," the account has not been granted the Receive Message permission for that queue.

  • The Message Queuing Triggers service is not running.

  • The Message Queuing Triggers service has been paused.

  • The trigger conditions are not all satisfied. If any trigger condition evaluates as false, the trigger will not fire.

  • The Message Queuing Triggers service cannot be initialized when running under a non-administrator account.

Follow these steps to ensure that any defined triggers will fire as expected.

  1. Ensure that any defined triggers are enabled.

  2. Verify that the account under which the Message Queuing Triggers service is running has been granted the Peek Message permission or the Receive Message permission (if the message processing type of the trigger is "retrieval" or "transactional retrieval") for the queue that is being monitored.

  3. Verify that the Message Queuing Triggers service is running and is not paused.

  4. Verify that all trigger conditions are statisfied.

  5. Configure the Message Queuing Triggers service to run as the Network Service account or if running as another account, verify that the specified account has administrator permissions.

After following the steps listed above, send a message to the queue monitored by the trigger to verify that the trigger fires.

See Also

Community Additions

ADD
Show: