Microsoft KB Archive/270855

= MAPI 0x80040154 error occurs when starting Exchange 5.5 Event Service =

Article ID: 270855

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q270855



SYMPTOMS
When you attempt to start the Microsoft Exchange Event Service, the service does not start, and you receive the following error message:

Could not start the Microsoft Exchange Event Service on \\.

Error 2140: An internal Windows NT Error occurred.

The application event log reports the following event:

Event ID: 5

Source: MSExchangeES

Description: An unexpected MAPI error occurred. Error returned was [0x80040154].



CAUSE
This error can occur when the following .dll files are unregistered:
 * Scripto.dll
 * Ss.dll
 * Esconf.dll

This error can also occur when you uninstall Winsock Proxy Client from a server running Microsoft Exchange Server 5.5.



RESOLUTION
To resolve this issue, follow these steps:  Type the following commands, and press ENTER after each line:

regsvr32 \bin\scripto.dll

regsvr32 \bin\ss.dll

regsvr32 \bin\esconf.dll

Note The  placeholder is the directory in which Exchange Server is installed. By default, this directory is C:\Exchsrvr. In Control Panel, double-click Services, click Microsoft Exchange Event Service, and then click Start.

Workaround
When the Event Service does not start and error 0x80040154 occurs, if you reinstall the Microsoft Outlook client on the computer running Exchange Server, the Event Service starts.

To successfully reinstall the Outlook client on a computer running Exchange Server, follow these steps:
 * 1) Stop all the Exchange services and set the Microsoft Exchange System Attendant service's startup type to Disabled.
 * 2) Stop and disable all third-party services, such as monitoring agents, backup applications, and anti-virus applications.
 * 3) Stop the Simple Network Management Protocol (SNMP) service (if it is installed).
 * 4) Restart the server.
 * 5) Reinstall the Outlook client on the server.
 * 6) Change the Microsoft Exchange System Attendant startup type back to Automatic.
 * 7) Start all Exchange Services manually except for the Microsoft Exchange Event Service.
 * 8) Start the Microsoft Exchange Event Service manually.
 * 9) For any services that were disabled in step two, change the startup type to their previous values. Start any services that you manually disabled.

