Partager via


Event ID 2127 — Message Queuing Functioning in Domain Mode

Applies To: Windows Server 2008

Directory Service Integration enables Message Queuing to function in domain mode. This feature makes possible the publishing of queue properties to Active Directory Domain Services (AD DS) (for public queues), out-of-the-box authentication, encryption of messages using certificates that are registered in AD DS, and routing of messages across Message Queuing sites. This feature becomes operational only when the computer joins a domain. Message Queuing must be able to join the domain and operate in domain mode.

Event Details

Product: Windows Operating System
ID: 2127
Source: MSMQ
Version: 6.0
Symbolic Name: MoveMsmqDomain_ERR
Message: Message Queuing objects cannot move automatically between domains (%1).

Resolve

Uninstall and reinstall Message Queuing

This error may be due to a faulty interforrest Message Queuing migration. To ensure that this migration is executed correctly, see the Active Directory v3 Migration Guide (https://go.microsoft.com/fwlink/?LinkId=103526).

If you were not trying to perform an interforrest migration, uninstall Message Queuing and then reinstall it in the new domain.

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

Uninstall and reinstall Message Queuing (Windows Vista)

To uninstall Message Queuing and then reinstall it on Windows Vista:

  1. Click Start, click Control Panel, and then double-click Programs and Features.
  2. Click Turn Windows features on or off.
  3. Clear the Microsoft Message Queue (MSMQ) server check box, and then click Remove.
  4. Repeat steps 1 and 2.
  5. In the Turn Windows features on or off section, select the desired Message Queuing components to install.

Uninstall and reinstall Message Queuing (Windows Server 2008)

To uninstall Message Queuing and then reinstall it on Windows Server 2008:

  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, then click Server Manager.
  2. In the console tree, click Features.
  3. In the Details pane, in the Feature Summary section, click Remove Features.
  4. In the Remove Features Wizard, clear the Message Queue check box, and then click Remove.
  5. After Message Queuing has been removed, in Server Manager, click Add Features.
  6. In the Add Features Wizard, select the desired Message Queuing components to install, and then click Install.

Verify

You can confirm the presence of the Directory Service Integration feature by doing the following:

  • Verify the registry key setting
  • Verify that the computer is joined to the correct domain
  • Verify Active Directory operation

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

Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.

Verify the registry key setting

To verify the registry key setting:

  1. Open Registry Editor. To open Registry Editor, click Start. In the search box type regedit, and then press ENTER.

  2. In Registry Editor, expand HKEY_LOCAL_MACHINE, expand SOFTWARE, expand Microsoft, expand MSMQ, and then click Setup.

  3. In the console tree, double-click msmq_ADIntegrated.

  4. Confirm that Value data is set to 1.

  5. Under MSMQ, expand Parameters.

  6. In the details pane, double-click Workgroup.

  7. Verify that Value data is not set to 1.

Verify that the computer is joined to the correct domain

To verify that the computer is joined to the correct domain:

  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. Verify that the domain that is listed in the Computer Information is the correct domain.

Verify Active Directory operation

You can confirm that Active Directory Domain Services (AD DS) is operating correctly by verifying that the Public Queue feature is enabled in Message Queuing.

To verify that the Public Queue feature is enabled in Message Queuing:

  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. Navigate to MSMQ.
  3. If the Public Queues folder exists and you can right-click the folder, Message Queuing is operating correctly in domain mode with Active Directory Integration.
  4. For further confirmation, run a test application that uses the Active Directory features that you require.

Message Queuing Functioning in Domain Mode

Message Queuing