Event ID 2212 — Trigger Initialization
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. If trigger initialization fails and the trigger service is not available, any trigger-dependent message processing logic will not be carried out.
Event Details
Product: | Windows Operating System |
ID: | 2212 |
Source: | MSMQ |
Version: | 6.0 |
Symbolic Name: | MSMQ_TRIGGER_QUEUE_NOT_FOUND |
Message: | The queue %1 was not found. It may have been deleted. The trigger %2 associated with this queue is nonfunctional. Please use Computer Management to remove this trigger. |
Resolve
Confirm trigger queue existence and permissions
The Network Service user is the default user that the Message Queuing Triggers service runs under on Windows Server 2008 and Windows Vista. However, this user can be changed. Therefore, before you check queue permissions, confirm the user account that the trigger service runs under on the computer that hosts the queue.
Also, the trigger's queue must be available, and the account under which the trigger service is running needs Peek and/or Receive permissions to the trigger's queue.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Find the trigger service account
To find the account that the trigger service runs under:
- Open the Services snap-in. To open Services, click Start. In the search box, type services.msc, and then press ENTER.
- Select the Message Queuing Triggers service. Check the value in the Log On As column to determine which account the service runs under. Make a note of this account name.
- Right-click Message Queuing Triggers, and then click Properties.
- Click the Log On tab. Confirm the account that the trigger service logs on as, and modify it as necessary.
Confirm trigger queue existence and permissions
To confirm trigger queue existence and permissions:
- Open the Computer Management snap-in. To open Computer Management, click Start. In the search box, type compmgmt.msc, and then press ENTER.
- Expand Services and Applications, and then expand Message Queuing.
- Confirm that the queue that is monitored by the trigger exists.
- Right-click the queue, and then click Properties.
- Click the Security tab.
- In the Group or user names section, select the user account that the service runs under.
- Under Permissions, confirm that the account under which the trigger service is running has the appropriate permissions (Peek or Receive, and so on).
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 Message Queuing Triggers service is installed and running:
- Open the Services snap-in. To open Services, click Start. In the search box, type services.msc, and then press ENTER.
- Scroll down the list of services to confirm the presence of the Message Queuing Triggers service.
- In the Status column, confirm that the Message Queuing Triggers service is Started.