Share via


Event ID 2205 — 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: 2205
Source: MSMQ
Version: 6.0
Symbolic Name: MSMQ_TRIGGER_OPEN_QUEUE_FAILED
Message: Opening the queue %3 for peeking at or retrieving messages failed. The trigger %4 is nonfunctional. Error %1: %2

Resolve

Confirm the permissions of the Message Queuing Triggers service user account

The Network Service user account is the default user account that the Message Queuing Triggers service runs under on computers running Windows Server 2008 and Windows Vista. However, this user account can be changed. Therefore, before you view or change queue permissions, confirm the user account that the Message Queuing Triggers service runs under on the computer that hosts the queue.

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

Confirm the Message Queuing Triggers service user account and permissions

To confirm the Message Queuing Triggers service user account and permissions:

  1. Open the Services snap-in. To open Services, click Start. In the search box, type services.msc, and then press ENTER.
  2. In the console tree, locate Message Queuing Triggers.
  3. Check the Log On As column to see what user account the service runs under.
  4. Confirm that the user account has Peek Message or Receive Message permissions on the queue.

View or change queue permissions

To view or change queue permissions:

  1. Open the Computer Management snap-in. To open Computer Management, click Start. In the search box, type compmgmt.msc, and then press ENTER.
  2. Expand Services and Applications, and then expand Message Queuing.
  3. Right-click the queue for which you want to view or change permissions, and then click Properties.
  4. Click the Security tab.
  5. If the user account is already listed in Group or user names, select the Allow check box next to the permissions that you want to add.
  6. If the user account is not listed in the Access Control List, click Add to add the user by name or search for the user, and then add permissions as appropriate, as described in step 5.

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