Article ID: 303221 - Last Review: October 25, 2007 - Revision: 3.3 Outlook MAPI profiles may get programmatically deleted before the MAPI program’s session endsThis article was previously published under Q303221 On This PageSYMPTOMS
When a program logs on with a MAPI profile and then deletes the MAPI profile programmatically before ending the session, you may experience issues if the following conditions are true:
CAUSE
Typically, when a MAPI profile is deleted while the session is still active, the profile is moved to a special Deleted Profiles folder in the registry. However, the profile can still be used by the program that is in session. When the session ends, the registry entry is cleaned up. This issue may occur if a user, or a service or a program, logs on by using Terminal Services before the MAPI program logs off. Additionally, the issue may occur when that user uses the same MAPI profile. MAPI looks in the registry, determines that a MAPI profile with the same name has been marked for deletion, and then deletes that profile. MAPI does not consider the concept of multiple virtual servers. Therefore, MAPI does not consider that a program may still be using the MAPI profile in another virtual server. RESOLUTIONMicrosoft ExchangeThe issues that are discussed in the section earlier in this article can be resolved by using one of the following updates, depending on your version of Microsoft Exchange Server.
Microsoft OutlookWhen you are running a custom application on a Terminal Server system where Microsoft Outlook is used as an e-mail client, you may experience the issues that are described in this article.
Microsoft has confirmed that this is a problem in the Microsoft Outlook versions listed in the Applies To section.
APPLIES TO
| Article Translations
|

Back to the top
