Microsoft KB Archive/269403

= XADM: ADC Replication Fails with 8138 Event =

Article ID: 269403

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



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  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:

 Start Registry Editor (Regedt32.exe). Locate and click the following key in the registry:

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

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

Value Name: Export Block Size

Data Type: DWORD

Value: 2500

 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.

<div class="status_section">

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

This problem was corrected in the Exchange 2000 ADC.

Additional query words: exch2kp2w

Keywords: kberrmsg kbprb KB269403

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.