Microsoft KB Archive/271744

From BetaArchive Wiki
Knowledge Base


Intersite directory replication stops with event ID 1091 and error 2147942414

Article ID: 271744

Article Last Modified on 10/28/2006



APPLIES TO

  • Microsoft Exchange Server 5.5 Standard Edition



This article was previously published under Q271744

Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect your system.
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
Note An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled.

For more information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:

129972 Computer viruses: description, prevention, and recovery


SYMPTOMS

After you set up intersite directory replication in an Exchange Server 5.5 organization, directory replication may run successfully and then stop responding. The bridgehead server in one site cannot send requests or retrieve any incoming requests that are in the directory service mailbox. In addition, the following event ID message may be logged in the Application event log:

Event ID: 1091
Source: MSExchangeDS
Type: Warning
Category: Replication
Description: The directory replication agent (DRA) attempted to open mail with name /o=Organization/ou=SITE/cn=Configuration/cn=Servers/cn=ServerName/cn=Microsoft DSA ServerName but received error 2147942414. Messages could not be sent. Make sure that the mail service on this Microsoft Exchange Server computer is running.


RESOLUTION

To resolve this behavior, follow these steps:

  1. Use the Mdbvu32.exe program or the MFCMapi.exe program to empty the directory service mailbox. See the "More Information" section for detailed information about how to use Mdbvu32.exe and MFCMapi.exe.
  2. Quit the antivirus program services on the Exchange server. For example, these services include the Network Associates GroupShield service, the Norton AntiVirus service, and so on.


Note If this issue is not resolved after you quit the antivirus services, remove the antivirus program from the computer.

  1. In Control Panel, start the Microsoft Exchange Server Directory Service.

This behavior can also be related to Norton AntiVirus. Use the same resolution to resolve that behavior, but substitute Norton AntiVirus where Groupshield is mentioned.

MORE INFORMATION

To use Mdbvu32.exe successfully, create a profile for the directory service mailbox, and then run Mdbvu32.exe.

IMPORTANT: Before you begin, back up the directory service mailbox and private information store.

WARNING: If you use the raw mode of the Exchange Server Administrator program (admin /r) incorrectly, serious problems may occur that may require you to reinstall Microsoft Windows NT Server, Microsoft Exchange Server, or both. Microsoft cannot guarantee that problems that result from using raw mode incorrectly can be solved. Use raw mode at your own risk.

First, create a profile for the service mailbox folder:

  1. Log on to the computer that runs Windows NT Server as the Exchange service account.
  2. Start the Microsoft Exchange Server Administrator program in Raw mode. To do so, type admin /r at the command prompt, and then press ENTER.
  3. In the left pane, under the appropriate site, click to expand the Configuration object, click to expand the Servers object, and then click the appropriate server.
  4. In the right pane, click the Directory Service object.
  5. On the File menu, click Raw Properties.
  6. In the raw properties for the Directory Service object, in the List Attributes Of Type box, click Optional.
  7. In the Object Attributes list, click Display Name.
  8. In the Edit Value box, type servernameDS, where servername is the name of your server.
  9. Click Set, and then click Apply.
  10. In the Object Attributes list, click Obj-Dist-Name.
  11. Click all of the text in the Edit Value box, and then press CTRL+C to copy the text to the clipboard.
  12. Click OK to close the raw properties for the Directory Service object.
  13. Click Start, point to Settings, click Control Panel, and then double-click Mail.


NOTE: If the Mail icon is not displayed in Control Panel, install the Exchange Server client. Click the Show Profiles button in the dialog box that is displayed. If a Show Profiles button is not displayed, proceed to the next step.

  1. Click Add, click to select the Microsoft Exchange Server check box, and then click Next.
  2. If you are prompted to specify a profile name, type servernameDS, where servername is the name of your server, and then click Next.
  3. In the Microsoft Exchange Server dialog box, type the name of the server.
  4. In the Mailbox box, press CTRL+V to paste the text that you copied in step 11, and then click Next.
  5. Proceed through the remainder of the wizard. When you finish the wizard, you automatically return to the General tab for profiles.
  6. Click the new profile, and then click Properties.
  7. In the list of information services, click Microsoft Exchange Server, and then click Properties.
  8. On the General tab, click Check Name. The server and mailbox resolve.


NOTE:The display name that you specified in step 8 is displayed in the Mailbox box, and both the server and mailbox are underlined.

  1. Click OK, click OK again, and then click Close.

Next, remove messages from the directory service mailbox.

To use Mdbvu32.exe to remove messages from the directory service mailbox, follow these steps:

  1. Run Mdbvu32.exe. The file is located in the Server\Support\Utils folder on the Exchange Server 5.5 CD-ROM.
  2. In the MAPILogonEx(MAPI_LOGON_UI) dialog box, click to select the following check boxes, and then click OK:
    • MAPI_NEW_SESSION
    • MAPI_EXPLICIT_PROFILE
    • MAPI_NO_MAIL
  3. After you receive a prompt to select a profile, click the profile that you created for the directory service mailbox. If you were prompted to specify a profile name when you created the profile, the profile name is servernameDS, where servername is the name of your server.
  4. In the MDB Viewer Test Application window, click OpenMessageStore on the MDB menu.
  5. In the Select Message Store to Open dialog box, click the entry for the directory service mailbox, and then click Open.
  6. In the MDB Viewer Test Application window, click Open Root Folder on the MDB menu.
  7. In the MAPI_FOLDER - Root dialog box, double-click Top of Information Store in the Child Folders box.
  8. In the MAPI_FOLDER - Top of Information Store dialog box, double-click Inbox in the Child Folders box.

    In the MAPI_FOLDER - Inbox dialog box that is displayed, the messages that are waiting for a response in the directory service mailbox are displayed in the Messages In Folder box. This box may take some time to populate. Each message is displayed in the following format:

    Replication Message version number

    NOTE: The time it takes for the box to populate depends on the number of messages that are backed up in the mailbox.

  9. Click the message that you want to delete.
  10. In the Operations available box, click IpFld -> DeleteMessages().
  11. Click Call Function to delete the selected message.
  12. Repeat steps 9 through 11 for any additional messages that you want to delete.

    NOTE: You can delete multiple messages at the same time by using either the CTRL or SHIFT key to select multiple messages in step 9.
  13. After you delete all the messages that you want to delete and there are no replication messages in the Inbox, click Close three times to return to the MDB Viewer Test Application window.
  14. Click Session Logoff on the Session menu, and then click OK in the IpMDB->StoreLogoff() dialog box.

Finally, open Control Panel, double-click Mail, and then delete the profile that you created for the directory service mailbox.

Alternatively, you can use MFCMapi.exe to remove messages from the directory service mailbox. The following file is available for download from the Microsoft Download Center:
[GRAPHIC: Download]Download the MFCMapi.exe package now.

To use MFCMapi.exe to remove messages from the directory service mailbox, follow these steps:

  1. Run MFCMapi.exe.
  2. On the Session menu, click Logon and Display Store Table.
  3. Select the profile that you created for the directory service mailbox, and then click OK.
  4. Double-click the directory service mailbox.
  5. Expand the Root Container, and then expand Top of Information Store.
  6. To delete all the messages in the directory service mailbox, right-click the Inbox, and then click Empty Items and Subfolders from Folder. To delete individual messages in the directory service mailbox, click to select the message that you want to delete, right-click the message, and then click Delete Message.

For more information about MFCMapi.exe, click the following article number to view the article in the Microsoft Knowledge Base:

291794 MFCMAPI demonstrates MAPI client code



Additional query words: XADM

Keywords: kbprb KB271744