The information in this article applies to:
SYMPTOMSThe MAPILogon() function returns error code 3 (MAPI_LOGIN_FAILURE) when called from within a Common Gateway Interface (CGI) script, written in C or C++, and running under Microsoft Internet Information Server (IIS). CAUSE
The MAPILogon function requires a valid MAPI profile to operate. Processes
that run as Windows NT services do not have default access to the
HKEY_CURRENT_USER registry hive, where the MAPI profile information is
stored, so MAPILogon cannot get to the profile to use it.
RESOLUTIONTo work around the CGI limitation, try this approach:
REFERENCESFor additional information, please see the following article(s) in the Microsoft Knowledge Base: Q173550 HOWTO: Using VC++ to Start an Active Messaging Session Additional query words: kbDSupport kbdse cgi mapilogon kbMsg kbMAPI kbMAPI000
Keywords : |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |