XADM: ADC Replication Fails with 8138 Event (269403)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q269403
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

If you replicate a large number of objects, a connection agreement may stop replicating, and the following event is logged in the Application event log:

Event ID: 8138
Source:MSADC
Type:Warning
Description:
The Server Server_name is not available. Check for network problems and make sure the server is running. All directory updates to or from the server cannot be replicated unless the server is available.


After the event is reported, the replication process restarts.

CAUSE

This behavior occurs because an Lightweight Directory Access Protocol (LDAP) query to the server specified has failed.

RESOLUTION

By default, the Windows 2000 Active Directory Connector (ADC) does not commit changes until the entire replication cycle is complete. If an error occurs during the replication cycle, it starts over again.

WORKAROUND

To work around this behavior, upgrade to Exchange 2000 ADC or change the registry.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To change the registry, follow these steps:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following key in the registry:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSADC\Parameters\

  3. On the Edit menu, click Add Value, and then add the following registry value:

    Value Name: Export Block Size
    Data Type: DWORD
    Value: 2500

  4. Quit Registry Editor.

This change does not fix the source of the LDAP failure. It causes the ADC to commit changes after 2500 changes have taken place instead of waiting until the end of the replication. The ADC then continues from this point rather than starting over from the beginning.

STATUS

Microsoft has confirmed that this is a problem in the Windows 2000 ADC.

This problem was corrected in the Exchange 2000 ADC.

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kberrmsg kbprb KB269403