Topic Last Modified: 2008-01-18

The Microsoft Exchange Database Troubleshooter Tool detected one or more MSExchangeIS 5000 events with error code 0xc004038a in the Application log. When this error occurs, the Microsoft Exchange Information Store service will not initialize and databases will not be mounted.

Explanation

The event MSExchangeIS 5000 with error code 0xc004038a can occur because of incorrect permissions or a deleted routing group. This event may be caused by one or more of the following:

  • The Exchange Server is no longer a member of a routing group, or its routing group was deleted from Active Directory.

  • The Exchange Domain Servers group does not have the appropriate permissions in Active Directory.

This event applies to the following versions of Exchange server:

  • Microsoft Exchange Server 2007

  • Microsoft Exchange Server 2003

  • Microsoft Exchange 2000 Server

User Action

To resolve the error, do one or more of the following:

  • If the Exchange Domain Servers group does not have appropriate permissions, use the Active Directory Service Interfaces (ADSI) Edit utility to make sure that the Exchange Domain Servers group has the required permissions in Active Directory. Make sure that the Allow inheritable permissions from parent to propagate this object check box is selected on the Security tab in the Administrators group, Exchange Domain Servers group, and any other groups that are relevant to your configuration.

    Note:
    If you must, force replication among the domain controllers to make sure that the changes are propagated throughout your domain.
    Note:
    The ADSI Edit tool is included in Microsoft Windows 2000 Support Tools and in Microsoft Windows Server 2003 Support Tools available on the Windows 2000 and Windows 2003 installation CD.
  • If the Exchange server is no longer a member of a routing group, or if its routing group was deleted from Active Directory, add the routing group or restore the routing group. Follow the resolutions here for the problem that best fits your scenario:

Resolution 1: Add the server to the routing group. Verify that the server is no longer a member of the routing group by following these steps:

  1. Start Exchange System Manager.

  2. Expand Organization, expand Administrative Groups, expand AdministrativeGroupName, and then expand Routing Groups.

    Note:
    In this step, AdministrativeGroupName is the name of the administrative group.
  3. Browse through all the available routing groups and verify that this server is not listed.

    Note:
    If no routing groups are visible, see Resolution 2.
  4. After you verify that this server is not a member of a routing group, add the server back to an existing routing group. To do this, follow these steps:

    Important:
    If you use the ADSI Edit snap-in, the LDAP utility, or any other LDAP version 3 clients, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require that you reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
To add the server back to the routing group
  1. Click Start, click Run, type adsiedit.msc, and then click OK.

    Note:
    The ADSI Edit tool is included in Microsoft Windows 2000 Support Tools and in Microsoft Windows Server 2003 Support Tools. To install these support tools, follow these steps:
    • For Windows 2000 Server-based computers, double-click Setup.exe in the Support\Tools folder on the Windows 2000 CD, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows 2000 Support Tools.

    • For Windows Server 2003-based computers, right-click Suptools.msi in the Support\Tools folder on the Windows Server 2003 CD, click Install, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows Server 2003 Support Tools.

  2. Expand Configuration [ servername.domain_name.com ], expand CN=Configuration, DC= domain_name, DC= com, expand CN=Services, expand CN=Microsoft Exchange, expand CN= OrganizationName, expand CN=Administrative Groups, expand CN= AdministrativeGroupName, and then click CN=Routing Groups.

    Note:
    In this step, servername is the name of the server, domain_name.com is the name of the domain, OrganizationName is the name of the Exchange Server organization, and AdministrativeGroupName is the name of the administrative group.
  3. Right-click the routing group of which you want this server to be a member, and then click Properties.

  4. Click the distinguishedName attribute, and then click Edit

  5. Copy the value of the distinguishedName attribute into Notepad.

  6. Click Cancel two times to close the properties.

  7. In the ADSIEdit tool, expand Configuration [ servername.domain_name.com ], expand CN=Configuration,DC= domain_name ,DC= com, expand CN=Services, expand CN=Microsoft Exchange, expand CN= OrganizationName, expand CN=Administrative Groups, expand CN= AdministrativeGroupName, and then expand CN=Servers.

  8. Right-click servername, and then click Properties.

  9. Click the msExchHomeRoutingGroup attribute, and then click Edit.

  10. Paste the value that you copied to Notepad in step 5, and then click OK two times to save the new value.

  11. In Exchange System Manager, locate the routing group to which you added this server.

  12. Update Exchange System Manager to view this server.

    Note:
    If the Exchange server does not appear immediately, wait for Active Directory replication to occur.
  13. If no other Exchange servers in this routing group have the Server Type set to Master, right-click this Exchange server, and then click Set as Master.

  14. Start the Information Store service and the MTA Stacks service.

Resolution 2: Restore the routing group. If you accidentally remove a routing group, restore the routing group by using the most recent backup of the System State data. If you do not have a recent backup of the System State data, and if you have more than one domain controller, perform an authoritative restore operation of the routing group that you removed.

If you cannot restore this routing group from a recent backup or by doing an authoritative restore operation from another domain controller, manually re-create the routing group that you removed. To do this, follow these steps:

Important:
If you use the ADSI Edit snap-in, the LDAP utility, or any other LDAP version 3 clients, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require that you reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
To restore the routing group
  1. Start Exchange System Manager, and then create a new routing group that has the same name as the routing group that you removed. To do this, follow these steps:

    1. Expand Administrative Groups, expand AdministrativeGroupName, and then expand Routing Groups.

      In this step, AdministrativeGroupName is the name of your administrative group.

    2. Right-click Routing Groups, point to New, and then click Routing Group.

    3. In the Name box, type the routing group name, and then click OK.

      Use the same name that was used for the routing group that you accidentally removed.

    4. Exit Exchange System Manager.

  2. Start ADSI Edit. To do this, click Start, click Run, type adsiedit.msc in the Open box, and then click OK.

    Note:
    The ADSI Edit tool is included in Microsoft Windows 2000 Support Tools and in Microsoft Windows Server 2003 Support Tools. To install these support tools:
    • For Windows 2000 Server-based computers, double-click Setup.exe in the Support\Tools folder on t/he Windows 2000 CD, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows 2000 Support Tools.

    • For Windows Server 2003-based computers, right-click Suptools.msi in the Support\Tools folder on the Windows Server 2003 CD, click Install, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows Server 2003 Support Tools.

  3. Expand Configuration [servername.domain_name.com], expand CN=Configuration, DC=domain_name, DC=com, expand CN=Services, expand CN=Microsoft Exchange, expand CN=OrganizationName, expand CN=Administrative Groups, expand CN=AdministrativeGroupName, and then click CN=Routing Groups.

    In this step, servername is the name of your server; domain_name.com is the name of your domain; OrganizationName is the name of your Exchange Server organization; and AdministrativeGroupName is the name of your administrative group.

  4. In the right pane, right-click the new routing group that you created, and then click Properties.

  5. Click to select the Show mandatory attributes check box and the Show optional attributes check box if they are not already selected.

  6. In the Attributes list, click msExchRoutingGroupMembersBL, and then click Edit.

    The Values list is blank.

  7. Click Cancel.

  8. In the Attributes list, double-click distinguishedName.

  9. Right-click the distinguished name in the Value box, and then click Copy.

  10. Start a text editor such as Notepad, and then click Paste on the Edit menu to paste the distinguished name.

  11. In the String Attribute Editor dialog box, click Cancel, and then click Cancel to close the CN=RoutingGroupName dialog box.

    In this step, RoutingGroupName is the name of your routing group.

  12. In ADSI Edit, under CN=AdministrativeGroupName, click CN=Servers.

  13. In the right pane, right-click CN=ServerName, and then click Properties.

    In this step, ServerName is one of the Exchange computers in this routing group.

  14. In the Attributes list, click msExchHomeRoutingGroup, and then click Edit.

  15. In the Value box, paste the distinguished name that you copied in steps 9 and 10, and then click OK.

  16. Click Apply, and then click OK.

  17. Repeat steps 13 through 15 for each server that was a member of the routing group that was removed by accident.

  18. Under CN=AdministrativeGroupName, click CN=Routing Groups.

  19. In the right pane, right-click the new routing group that you created, and then click Properties.

  20. In the Attributes list, click msExchRoutingGroupMembersBL, and then click Edit.

    The Values list is no longer blank.

  21. Click Cancel two times.

  22. Exit ADSI Edit.

  23. Set the routing group master by using Exchange System Manager. To do this, follow these steps:

    1. Start Exchange System Manager.

    2. Expand Administrative Groups, expand AdministrativeGroupName, and then expand Routing Groups.

    3. Expand the new routing group that you created, and then click Members.

    4. In the right pane, right-click the Exchange computer that you want to configure as the routing group master, and then click Set as Master.

    5. Exit Exchange System Manager.

  24. Wait for the changes to propagate throughout the domain.

  25. Start the Microsoft Exchange services that are stopped.