XADM: CDO MAPI Session Logon Call Does Not Work When Running As a Service (271913)



The information in this article applies to:

  • Microsoft Exchange Server 5.5

This article was previously published under Q271913

SYMPTOMS

When Collaboration Data Objects (CDO) are run from a service by using the account of a user who is not logged on, an attempt to pass a distinguished name (DN) to the profileinfo string of the logon call may fail and a MAPI_E_NOT_FOUND error may occur.

CAUSE

This problem can occur if MAPI.Session.Logon fails when it passes a profileinfo string that contains a DN with invalid file-system characters. Messaging Application Programming Interface (MAPI) does not create the MMP file for the profile because MAPI uses the profile name from CDO without checking for invalid file-system characters.

RESOLUTION

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

191014 XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack

STATUS

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

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbbug kbExchange550preSP5fix kbExchange550sp4Fix kbfix kbQFE KB271913