Event ID 2207 — Trigger Operation

Applies To: Windows Server 2008

Message Queuing Triggers is a service that you can use to associate the arrival of each incoming message at a queue with a response that depends on the contents of the message. The response may invoke either a Component Object Model (COM) component or a stand-alone executable program. These components or programs can define business rules that can be invoked in response to such messages, without any additional programming. An issue with triggers operations can, depending on the issue, prevent the invocation of some or all business rules.

Event Details

Product: Windows Operating System
ID: 2207
Source: MSMQ
Version: 6.0
Symbolic Name: MSMQ_TRIGGER_RULE_HANDLE_CREATION_FAILED
Message: An instance of a rule handler for the rule %3 with the ID %4 was not created. The rule cannot be evaluated and executed. The MSMQTriggerObjects.MSMQRuleHandler class may not be registered, or your System folder does not contain mqtrig.dll. Error %1: %2

Resolve

Confirm the version of Mqtrig.dll

You must have the correct version of the Mqtrig.dll file. First, confirm the version of the Mqtrig.dll file. Then, uninstall and reinstall Message Queuing triggers.

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

Confirm that the %windir%\system32 folder contains the correct version of the Mqtrig.dll file

To confirm the version of the Mqtrig.dll file:

  1. Open Windows Explorer, and then navigate to the %windir%\System32 folder.
  2. In the System32 folder, right-click mqtrig.dll, and then click Properties.
  3. Click the Version tab, and check the file version. Keep this window open.
  4. Click Start, click Run, type MSInfo32, and then click OK.
  5. Click System Summary.
  6. In the details pane, locate Hardware Abstraction Layer. The version number should match the file version of Mqtrig.dll.
  7. If these versions do not match, try uninstalling and reinstalling the Message Queuing Triggers feature of Message Queuing.

Uninstall and reinstall Message Queuing triggers (Windows Vista)

To uninstall Message Queuing triggers:

  1. Click Start, and then click Control Panel.
  2. In the left pane, click Classic View.
  3. Click Programs and Features.
  4. In the left pane, click Turn Windows features on or off.
  5. In the Windows Features dialog box, expand Microsoft Message Queue (MSMQ) Server Core, and then clear the MSMQ Triggers check box.
  6. Click OK.

To install Message Queuing triggers:

  1. Click Start, and then click Control Panel.
  2. In the left pane, click Classic View.
  3. Click Programs and Features.
  4. In the left pane, click Turn Windows features on or off.
  5. In the Windows Features dialog box, expand Microsoft Message Queue (MSMQ) Server Core, and then select the MSMQ Triggers check box.
  6. Click OK.

Uninstall and reinstall Message Queuing triggers (Windows Server 2008)

To uninstall Message Queuing triggers:

  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. Start the Remove Features Wizard. To start the Remove Features Wizard, in the Features Summary section, click Remove Features.
  3. Expand Message Queuing, and then expand Message Queuing Services.
  4. Clear the Message Queuing Triggers check box, and then click Next.
  5. Click Remove.

To install Message Queuing triggers:

  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. Start the Add Features Wizard. To start the Add Features Wizard, in the Features Summary section, click Add Features.
  3. Expand Message Queuing, and then expand Message Queuing Services.
  4. Select the Message Queuing Triggers check box, and then click Next.
  5. Click Install.

Verify

Verify that the Message Queuing Triggers service is installed and running.

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

To verify that the trigger 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. Scroll down the list of services to confirm the existence of the Message Queuing Triggers service.
  3. In the Status column, confirm that the Message Queuing Triggers service is Started.

Trigger Operation

Message Queuing