Microsoft KB Archive/313094

From BetaArchive Wiki
Knowledge Base


XADM: "MapiInitialize" Does Not Handle Different Threading Models; the Fix Requires Exchange 2000 SP2

Article ID: 313094

Article Last Modified on 2/20/2007



APPLIES TO

  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Exchange 2000 Conferencing Server



This article was previously published under Q313094


SYMPTOMS

Even if the MAPI_NO_COINIT flag is passed, MapiInitialize() may not handle different threading models correctly if Component Object Model (COM) has already been initialized.

CAUSE

This problem may occur if MapiInitialize() calls CoInitialize() regardless of whether or not the flag is passed, and then calls CoUninitialize if the flag was set, without first checking to see if CoInitialize initially failed. This behavior may cause CoUninitialize to be called too many times.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Exchange 2000 Server. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

301378 XGEN: How to Obtain the Latest Exchange 2000 Server Service Pack


The English version of this fix should have the following file attributes or later:

Component: Messaging Application Programming Interface (MAPI)

File name Version
Mapi32.dll 6.0.5770.1


NOTE: Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 2.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server. This problem was first corrected in Microsoft Exchange 2000 Server Service Pack 3.

Keywords: kbbug kbexchange2000presp3fix kbexchange2000sp3fix kbfix KB313094