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



The information in this article applies to:

  • Microsoft Exchange Server 5.5

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

  1. Search the hard drives on the computer for the Dir.edb database file.
  2. 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.
  1. Start Registry Editor.
  2. Locate the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeDS\Parameters

  3. 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:
    • Verify that the "DSA Database File" registry entry points to the Dir.edb database file.
    • Verify that the "Database log files path" registry entry points to the Edb.log files for the directory service.
    • Verify that the "DSA Working Directory" registry entry points to the Ebd.chk file for the directory service.
    Note For example, type Drive:\exchsrvr\dsadata.
  4. After you verify all the registry entries, start the directory service.

Modification Type:MajorLast Reviewed:7/1/2005
Keywords:kbexchDIRECTORY kbprb KB285675 kbAudITPRO