Article ID: 234630 - Last Review: September 4, 2007 - Revision: 3.2

XADM: Event Scripts Fail with Error 0x800401f0 (CO_E_NOTINITIALIZED) after Installing Exchange 5.5 SP2

This article was previously published under Q234630
Expand all | Collapse all

SYMPTOMS

After you install Exchange Server 5.5 Service Pack 2 (SP2), applications that use Cdo.dll may start receiving an error of 0x800401F0 (CO_E_NOTINITIALIZED) indicating that CoInitialize() has not been called. The most common environment where this may be seen is with event scripts that run using the Microsoft Event Service. This problem will typically be seen with event scripts that log on to a new MAPI session from within the script.

The application event log may show events that look similar to the following:
Event ID: 6
Source: MSExchangeES
Description: An unexpected MAPI error occurred while processing binding "Script Name". Error returned was [0x800401f0].

Event ID: 16
Source: MSExchangeES
Description: Unexpected error 0x800401f0 occurred during processing of timer-based events.

CAUSE

Changes were made in Exchange Server 5.5 SP2 to allow Cdo.dll to properly support the Component Object Model (COM) Multi-Threaded Apartment (MTA) model. The Microsoft Event Service exposed a problem with these changes.

RESOLUTION

To resolve this problem, obtain the latest service pack for Exchange Server version 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
191014  (http://support.microsoft.com/kb/191014/EN-US/ ) XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack
The English version of this fix should have the following file attributes or later:

Component: MAPI

Collapse this tableExpand this table
File nameVersion
Mapi32.dll5.5.2622.0

STATUS

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

APPLIES TO
  • Microsoft Exchange Server 5.5 Service Pack 2
Keywords: 
kbbug kbfix kbqfe KB234630
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations