Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Exchange 2000 MAPI address book provider cannot connect to a different global catalog server if the current global catalog server is unavailable


View products that this article applies to.

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows Registry

↑ Back to the top


Symptoms

Your MAPI program stops responding for approximately 1 to 2 minutes. You may receive an error message that is similar to the following:
MAPI_E_NOT_FOUND

↑ Back to the top


Cause

This problem may occur if all the following conditions are true:
  • Your MAPI program connects to a Microsoft Exchange 2000 Server mailbox store.
  • Your MAPI program runs on either the Exchange 2000 server or on a member server that has access to Exchange 2000 Server MAPI components.
  • Your MAPI program uses the MAPI address book provider that is included with Exchange 2000.
  • Global catalog referral is enabled on the Exchange 2000 server.
  • The global catalog server that your MAPI program points to becomes unavailable.
If global catalog referral is enabled on the Exchange 2000 server, when your MAPI program first logs on to a mailbox, the referral service points the MAPI program to a global catalog server. This procedure occurs during the MapiLogonEx process. The MAPI program uses the global catalog server for name resolution and to retrieve user attributes. If the global catalog server becomes unavailable during the session, the MAPI program may stop responding for approximately 1 to 2 minutes. During this time, any calls that are made to the global catalog server may return an error. This problem occurs even when there are other global catalog servers that are available on the network.

Unlike Microsoft Outlook 2002 and Microsoft Office Outlook 2003, the MAPI address book provider that is included with Exchange 2000 cannot resubmit a query to the Exchange server for a different global catalog server when the current global catalog server is unavailable.

↑ Back to the top


Resolution

A supported hotfix is 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.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

The English version of this hotfix has the file attributes (or later) 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
   --------------------------------------------------------------
   25-Sep-2003  04:30  6.0.6515.0        167,936  Emsabp32.dll 
				
Note Because of file dependencies, this update requires Exchange 2000 Server Service Pack 3 (SP3). For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
301378� How to obtain the latest Exchange 2000 Server service pack

↑ Back to the top


Workaround

To work around this problem, restart your MAPI program. When you restart your MAPI program, your program is pointed to an available global catalog server during the logon process.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

↑ Back to the top


More information

After you install the hotfix, you must edit the registry to enable the hotfix for your MAPI user profile.

Note You must update the registry for each user profile that you want the hotfix to apply to.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Determine the name of your MAPI user profile.
  2. Click Start, click Run, in the Open box type regedt32, and then click OK.
  3. Locate and then click the following registry subkey:
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles
  4. Expand the Your_Profile subkey, where Your_Profile is the name of your user profile.
  5. Click the subkey that starts with dca, for example dca740c8c042101ab4b908002b2fe182.
  6. On the Edit menu, click Add Value.
  7. In the Value Name box, type 00036639.
  8. In the Data Type box, click REG_BINARY, and then click OK.
  9. In the Data box, type 01 00 00 00, and then click OK. (You do not have to type the spaces. The spaces appear in the value after you click OK.)

    Note This registry setting permits the Exchange MAPI address book provider to connect to a new global catalog server when the existing global catalog server is unavailable. After the switch to a new global catalog server occurs, the MAPI call fails with the status MAPI_E_END_OF_SESSION. This causes the MAPI program to retry the call. There is a delay of 30 to 50 seconds while the switch to the new global catalog server occurs.
  10. On the Edit menu, click Add Value.
  11. In the Value Name box, type 0003663A.
  12. In the Data Type box, click REG_BINARY, and then click OK.
  13. In the Data box, type 14 00 00 00, and then click OK. (You do not have to type the spaces. The spaces appear in the value after you click OK.)

    Notes
    • After you configure this registry setting, if your program uses multiple threads to connect and use the Exchange MAPI address book provider, the threads will time out as specified in the registry value. In this example, the threads will time out after 20 seconds if the thread cannot access the global catalog server. The returned error code is MAPI_E_USER_CANCEL.
    • For newly created profiles, MAPI will not be able to reconnect until it has connected at least one time and the PR_PROFILE_SERVER_VERSION property is set in the MAPI profile. If your program creates a new MAPI profile and must use the reconnection feature on the first logon, you should set the PR_PROFILE_SERVER_VERSION property to 3000 or greater on the global profile section before you log on.
For additional information about the terminology that is used for 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

↑ Back to the top


Keywords: KB823719, kbbug, kbexchange2000presp4fix, kbfix, kbqfe, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 823719
Revision : 7
Created on : 10/26/2006
Published on : 10/26/2006
Exists online : False
Views : 210