Microsoft KB Archive/832851

= Inbound Replication Fails on Domain Controllers with Event ID: 1699, Error 8451 or jet error -1601 =

Article ID: 832851

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Inbound replication to Windows Server 2003 domain controllers does not work, and errors are listed in the Directory Services event log of the destination domain controller if NTDS diagnostic logging is set at default levels. The domain controllers that cannot replicate may log the following events in the System log:

Event Type: Error

Event Source: NTDS Replication

Event Category: Replication

Event ID: 1699

Date:

Time:

User:

Computer:

Description: The local domain controller failed to retrieve the changes requested for the following directory partition. As a result, it was unable to send the change requests to the domain controller at the following network address.

Directory partition:

Network address:

Extended request code: 0

Additional Data

Error value: 8451

The replication operation encountered a database error.

The only partition that is failing to replicate is the  partition.

Increasing NTDS diagnostic logging levels on the destination domain controller produces additional events that are useful in identifying this issue. For information about how to increase NTDS diagnostic logging, see the More Information section.

In Active Directory Sites and Services, right-click the connections that fail to inbound replicate to the destination domain controller and choose Replicate Now. The following events are logged in the Directory Services event log: Event Type: Warning

Event Source: NTDS General

Event Category: Internal Processing

Event ID: 1173

Date:

Time:

User:

Computer:

Description: Internal event: Active Directory has encountered the following exception and associated parameters.

Exception: e0010004

Parameter: 0

Additional Data Error value: -1047

Internal ID: 205063e

Event Type: Error

Event Source: NTDS General

Event Category: Internal Processing

Event ID: 1481

Date:

Time:

Computer:

Description:

Internal error: The operation on the object failed.

Additional Data:

Error value: 2 000020EF: NameErr: DSID-032500E8, problem 2001 (NO_OBJECT), data -1601, best match of: &quot;

Attempts to re-source read-only copies of domain partitions on global catalogs using repadmin /rehost will fail with the following error:

Removal of partition DC=DN  is in progress...

DsReplicaDel NO_SOURCE failed with status 8409 (0x20d9)

A database error has occurred.

Attempts to demote global catalogs fail, and generate the following error:

Event Type: Warning

Event Source: NTDS Replication

Event Category: Replication

Event ID: 1061

Date:

Time:

Computer:

User: NT AUTHORITY\ANONYMOUS LOGON

Internal event: The directory replication agent request returned the following status.

Additional Data:

Error value:

8409 A database error has occurred.

Attempts to promote additional global catalogs in the forest also fail.



CAUSE
This problem occurs if an Active Directory partition contains one or more objects with an invalid security descriptor. An invalid security descriptor is a security descriptor that is anything less than 8 bytes. This problem occurs if an object or attribute contains a non 8-byte msExchSecurityDescriptor. Microsoft Windows 2000-based domain controllers earlier than Service Pack 4 (SP4) permitted these invalid security descriptors to be created. Windows 2000 SP4 or later versions do not permit the msExchSecurityDescriptors to be written to the global catalogs. However, if an invalid msExchSecurityDescriptor property already exists in the global catalog, it is not removed by the installation of Windows 2000 SP 4 or later versions. Upgrading a Windows 2000 domain controller to Windows Server 2003 does not correct the invalid descriptor.

One scenario that reveals these errors is the running Microsoft Exchange Server 2003 Setup /Forestprep, and /Domainprep in your Microsoft Windows Server 2003-based network.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name 24-Nov-2003 23:27  5.2.3790.104    4,010,496  Ntdsa.dll

Important We recommend that administrators install this hotfix before you run Exchange 2003 FORESTPREP in Active Directory forests that contained Exchange 2000 and pre-SP3 Windows 2000-based domain controllers.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To increase NTDS diagnostic logging, change the following REG_DWORD values in the registry of the destination domain controller under the following registry key:

Set the value of the following subkeys to 5:
 * 5 Replication Events
 * 9 Internal Processing

Note Level 5 logging is extremely verbose and the values of both subkeys should be set back to the default of 0 after the problem is resolved. Filtering the Directory Services event log should be performed to isolate and identify these events.

For more information about the standard terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwinserv2003presp1fix KB832851

-

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

© Microsoft Corporation. All rights reserved.