Microsoft KB Archive/263548

= XADM: Event ID 1016 and 1002 Occur When Directory Service Fails to Start =

Article ID: 263548

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q263548



SYMPTOMS
When you start the directory service, you may receive the following error message

Window NT &quot;Internal Error 2140&quot;

in which case, the application log records the following events:

Event ID: 1016

Source: MsExchangeDS

Description: Missing configuration parameter (DSA Database file). The Microsoft Exchange Server database (EDB) may be corrupted. Try to reinstall the software.

Event ID: 1002

Source: MsExchangeDS

Description: The Microsoft Exchange Server database (EDB) could not be initialized and returned error 1. Unrecoverable error, the directory can not continue.



CAUSE
This behavior can occur if a registry key is missing or has been deleted from the following registry setting:

HKeyLocalMachine\System\CurrentControlSet\Services\MSExchangeDS\Parameters

By default, the service account should have full access to the following keys:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeDS\Parameters]

&quot;Database log files path&quot;=&quot;[path name]&quot;

&quot;Database logging/recovery&quot;=&quot;ON&quot;

&quot;DSA Temporary file&quot;=&quot;[path name]&quot;

&quot;EDB max log buffers&quot;=dword:00000040

&quot;EDB log buffer flush threshold&quot;=dword:00000020

&quot;EDB log flush period&quot;=dword:000001f4

&quot;DSA Hierarchy table file&quot;=&quot;[path name]&quot;

&quot;Hierarchy Table Recalculation interval (minutes)&quot;=dword:000002d0

&quot;DSA Working Directory&quot;=&quot;[path name]&quot;

&quot;Max Threads (EXDS+NSP+DRA)&quot;=dword:00000030

&quot;Replicator deleted object conflict lifetime (days)&quot;=dword:00000001

&quot;Replicator notify pause after modify (secs)&quot;=dword:0000012c

&quot;Replicator notify pause between DSAs (secs)&quot;=dword:0000001e

&quot;Replicator inter site packet size&quot;=dword:00000200

&quot;Replicator intra site packet size&quot;=dword:00000064

&quot;Circular Logging&quot;=dword:00000001

&quot;Dsa Database File&quot;=&quot;[path name]&quot;



RESOLUTION
To resolve this issue, verify that the service account has full access to all of the registry keys listed in the &quot;Cause&quot; section. If one of these keys is missing or has been deleted, you must re-create it.

Keywords: kbprb KB263548

-

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

© Microsoft Corporation. All rights reserved.