When Outlook calls GetIdsFromNames on IAttach, Outlook quits or you receive a "MAPI_NO_SUPPORT" error message (331057)



The information in this article applies to:

  • Microsoft Outlook 2002
  • Microsoft Outlook 2002 Service Pack 1 (SP-1)
  • Microsoft Outlook 2002 Service Pack 2 (SP-2)

This article was previously published under Q331057

SYMPTOMS

If you are writing a C++ Exchange extension, Microsoft Outlook may quit when it calls the GetIDsFromNames function or the GetNamesFromIDs function on an IAttach interface for a secure message (a signed message or an encrypted message).

If you are running Outlook 2002 Service Pack 2 (SP-2), Outlook may not quit, but you may receive the following error message:
MAPI_NO_SUPPORT
This behavior occurs only when you are working with new messages.

CAUSE

This call is not designed to work on secure messages because named properties are lost during SMIME conversion.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Outlook 2002 Update: January 22, 2003 that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The global version of this has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
     Date         Time   Version             Size   File name
   --------------------------------------------------------------
   14-Oct-2002  13:10                  2,266,640  Outlook.msp
   14-Oct-2002  13:51                  4,141,568  Outlook_admin.msp
   14-Oct-2002  13:18                      3,158  Readme.txt
				
After the hotfix is installed, the global version of this fix will have the file attributes (or later) that are listed in the following table.
   Date         Time   Version             Size   File name
   --------------------------------------------------------------
   19-Sep-2002  23:23  10.0.4517.0       105,032  Envelope.dll
   12-Oct-2002  00:14  10.0.4608.0       346,696  Exsec32.dll
   09-Aug-2002  05:22  10.0.4406.0       137,800  Impmail.dll
   13-Sep-2002  05:52  10.0.4510.0       539,208  Outlcm.dll
   12-Oct-2002  00:14  10.0.4608.0     6,314,568  Outllib.dll
   13-Sep-2002  05:52  10.0.4510.0        92,744  Outlmime.dll
   13-Sep-2002  05:52  10.0.4510.0        47,688  Outlook.exe
   09-Aug-2002  05:22  10.0.4406.0       121,416  Outlph.dll

				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

This update was first included in Office XP Service Pack 3. For additional information about the latest service pack for Office XP, click the following article number to view the article in the Microsoft Knowledge Base:

307841 How to obtain the latest Office XP Service Pack


Modification Type:MajorLast Reviewed:4/7/2006
Keywords:kbQFE KBHotfixServer kbofficexppresp3fix kbbug kbfix KB331057