A Trigger Is Defined, But It Does Not Appear to Be Firing
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.
Diagnosis
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.
Resolution
Follow these steps to ensure that any defined triggers will fire as expected.
To ensure that defined triggers will fire as expected
Ensure that any defined triggers are enabled.
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.
Verify that the Message Queuing Triggers service is running and is not paused.
Verify that all trigger conditions are statisfied.
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.
Verification
After following the steps listed above, send a message to the queue monitored by the trigger to verify that the trigger fires.
See Also
Concepts
View or Change Properties of Triggers and Rules for Triggers
Set Permissions for Computer and Queue Objects