Article ID: 893420 - Last Review: June 20, 2005 - Revision: 2.2

A MAPI-based program may stop running on a computer that is running Outlook 2003 or Outlook 2002

Expand all | Collapse all

SYMPTOMS

When you try to run a MAPI-based program on a computer that is running Microsoft Office Outlook 2003 or Microsoft Outlook 2002, the MAPI-based program may stop running after a while. Additionally, when you monitor the MAPI-based program, you may observe a handle leak.

CAUSE

This problem may occur because of a handle leak when a MAPI-based program opens a message store. When a MAPI-based program opens a message store, two handles are opened to the following registry subkey:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
When the MAPI-based program is finished using the handles that were opened to the registry subkey, the handles are not closed. If the MAPI-based program runs for a long time and repeatedly opens message stores, open handles build up. This may cause errors or unpredictable behavior in the MAPI-based program.

WORKAROUND

To work around this problem, quit and then restart the MAPI-based program.

STATUS

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

APPLIES TO
  • Microsoft Office Outlook 2003
  • Microsoft Outlook 2002 Standard Edition
Keywords: 
kbtshoot kbprb KB893420
 

Article Translations

 

Related Support Centers