Tip

MAPI problems when Exchange Server and Microsoft Outlook share

Microsoft does not support installing any version of Outlook on the same computer as any version of Exchange Server.

On the face of it, this may seem absurd and unfair, but there are reasons for this that have to do with different versions of the components both programs use.

Both Outlook and Exchange Server use a standard Microsoft programming interface called MAPI (short for Mail Application Programming Interface). MAPI is used by Outlook and Exchange for radically different things. More specifically, the way MAPI is implemented for the two systems is radically different.

Exchange's implementation of MAPI needs to scale well to hundreds or thousands of users, and has been written and debugged from that point of view. Outlook, on the other hand, was written from the point of view of a single user, and so many of the functionalities that are most robustly developed in Outlook's MAPI (RPC over HTTP, for instance) are of that variety.

Outlook implements MAPI through a component called the "MAPI stub." The stub is essentially a redirector, used to "farm out" the various MAPI calls to the different ways MAPI may be implemented on the same computer. (This was done so that multiple mail clients could coexist on the same computer without eating each other alive, as it were.)

Exchange, however, does not use the stub library, since that would cause a performance penalty not acceptable in a server environment. As a result,

    Requires Free Membership to View

Exchange's functions have to be satisfied directly by Exchange's implementation of MAPI, and Outlook has to work through the MAPI stub. If both Exchange and Outlook are installed on the same computer, the two methodologies may wind up interfering with or overwriting each other.

If there is a real and urgent need for a mail client of some kind on a server running Exchange, there is always Outlook Express (even though it is very primitive), which does not use the full implementation of MAPI calls and is already present by default in Windows Server 2000/2003. Another possibility is a non-Microsoft mail client (Thunderbird, Eudora), or running a full copy of Outlook in an emulated machine using VMWare or Microsoft Virtual PC.

(Thanks to Stephen Griffin of Microsoft, whose blog was the source for this tip.)

 


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

 


Did you find this tip useful? It first appeared in the free SearchExchange.com newsletter, Exchange Adviser. Sign up now so you can receive the Exchange Adviser, which is filled with technical articles, expert advice, news and everything Exchange!

 


Do you have a useful Exchange tip to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

This was first published in October 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.