Microsoft KB Archive/285675

= Event ID: 1002 occurs when you try to start the Microsoft Exchange directory service in Exchange Server 5.5 =

Article ID: 285675

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q285675



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
When you try to start the Microsoft Exchange directory service in Microsoft Exchange Server 5.5, you may receive an internal processing error. The following events are logged in the Application log: Event ID: 1002

Source: MSExchangeDS

Type: Error

Category: Internal Processing

Description:

The Microsoft Exchange Server database, EDB, could not be initialized and returned error -1022.

Unrecoverable error. The directory cannot continue.

Event ID: 1002

Source: MSExchangeDS

Type: Error

Category: Internal Processing

Description:

The Microsoft Exchange Server database, EDB, could not be initialized and returned error -1811.

Unrecoverable error. The directory cannot continue.



CAUSE
This problem occurs when one of the following conditions is true:
 * The Dir.edb database file is missing.
 * The registry entries that define the paths to the directory database and to other required files point to the incorrect locations.



RESOLUTION
To resolve this problem, verify that the Dir.edb database file file exists and verify the location of the file. Then, change the registry entries to point to the correct locations. To do this, follow these steps.

Verify the Dir.edb database file
 Search the hard drives on the computer for the Dir.edb database file. If the Dir.edb database file does not exist, restore the database from a backup.

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

184186 Recovering Exchange from a corrupted directory

177635 How to set up a disaster recovery server for Dir.edb

183266 How to restore an offline backup of the directory service and information store



Verify the registry entries
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.  Start Registry Editor. Locate the following registry key:

 Verify that the following registry entries point to the correct locations. If a registry entry points to the wrong location, type the correct path for that entry: <ul> Verify that the &quot;DSA Database File&quot; registry entry points to the Dir.edb database file.</li> Verify that the &quot;Database log files path&quot; registry entry points to the Edb.log files for the directory service.</li> Verify that the &quot;DSA Working Directory&quot; registry entry points to the Ebd.chk file for the directory service.</li></ul>

Note For example, type \exchsrvr\dsadata .</li> After you verify all the registry entries, start the directory service.</li></ol>

Additional query words: XADM

Keywords: kbexchdirectory kbprb KB285675

-

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

© Microsoft Corporation. All rights reserved.