Microsoft KB Archive/307022

= OL: The Emsmdb32.dll File Stops Responding When Used by a Multithreaded Program =

Article ID: 307022

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Outlook 97 Standard Edition
 * Microsoft Outlook 98 Standard Edition
 * Microsoft Outlook 2000 Service Pack 1

-



This article was previously published under Q307022



SYMPTOMS
Multithreaded programs that use MAPI may cause the Emsmdb32.dll file to stop responding in Microsoft Outlook.



CAUSE
This problem can occur because multithreaded programs use only one session to log on to different mailboxes.



RESOLUTION
Use the following methods to resolve this problem:
 * 1) Use Outlook 2002 instead of Outlook 97, Outlook 98, or Outlook 2000.
 * 2) Every thread must use its own MAPI session.
 * 3) Verify that the Contacts address book is removed from the profile.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
When the Emsmdb32.dll file stops responding, a stack similar to the following appears: Thread 1 ntdll!NtWaitForSingleObject+0xb ntdll!RtlpWaitForCriticalSection+0xaa ntdll!RtlEnterCriticalSection+0x46 EMSMDB32!MspCsEnterFn+0x79 EMSMDB32!PRVDROBJ__Release+0x24 EMSMDB32!UNKOBJ__Release+0x1b9 MSMAPI32!UlRelease+0xe

Thread 2 ntdll!NtWaitForSingleObject+0xb ntdll!RtlpWaitForCriticalSection+0xaa ntdll!RtlEnterCriticalSection+0x46 EMSMDB32!MspCsEnterFn+0x79 EMSMDB32!CNCTLIST__EcConnect+0xbb EMSMDB32!LOGONOBJ__EcCreateRpc+0x10a EMSMDB32!LOGONOBJ__EcConfig+0x183 EMSMDB32!EcOpenStore+0x1d3 EMSMDB32!MSPRVDROBJ__HrLogonReally+0x735 EMSMDB32!HrLocalRepLogon+0x47 EMSMDB32!RMSP_Logon+0x268

Keywords: kbbug kbmsg kbnofix KB307022

-

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

© Microsoft Corporation. All rights reserved.