ID: Q194077
The information in this article applies to:
After upgrading to Collaboration Data Objects (CDO) 1.21 and Outlook 98, the following problems may occur:
MAPI_E_NO_SUPPORT
These problems can occur if you call the Logon method of the Session object and specify a stored profile that has been used by Outlook 98.
To successfully call the GetDefaultFolder() function when specifying the Calendar folder or to return an appointment object instead of a message object where appropriate, use one of the following two methods:
Specify ProfileInfo when calling the Session.Logon method instead of specifying a stored profile.
For example:
objSession.Logon ProfileInfo:= <server name> & vbLf & <mailbox name>
Use a separate profile for CDO applications and another for Outlook 98.
You use the ProfileInfo parameter of the Logon method to create a temporary profile for the session. CDO generates a random name for the profile. For an authenticated profile, the format of the string follows:
<server name> & vbLf & <mailbox name>
The server and mailbox names can be unresolved. Note that the mailbox name
is not the messaging user's display name, but rather the alias or account
name used internally by the user's organization. For example, you should
use "johnd" instead of "John Doe". The profile is deleted after the logon
is completed or terminated. The ProfileInfo parameter is only used by
applications interfacing with Microsoft Exchange Server and no other
services. The profileName parameter is ignored if ProfileInfo is supplied.
Collaboration Data Objects Help; search on: "GetDefaultFolder"
Additional query words: kbDSupport kbMsg kbole kbCDO120 kbCDO121
Keywords : kbCDO120 kbCDO121 kbMsg kbOutlook98 kbGrpMsg
Version : WINDOWS:1.2,1.21
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 8, 1999