PRB: Problems with CDO (1.x) After Upgrading to Outlook 98 or Outlook 2000 (194077)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.21
- Collaboration Data Objects (CDO) 1.2
- Microsoft Outlook 98
- Microsoft Outlook 2000
This article was previously published under Q194077 SYMPTOMS
After upgrading to Collaboration Data Objects (1.2, 1.21) and Outlook 98 or Outlook 2000, the following problems may occur:
- The GetDefaultFolder method of the Session object may return the
following error when specifying to retrieve the Calendar folder:
MAPI_E_NO_SUPPORT
- The Messages collection of any folder may return a Message object
instead of a MeetingItem for a meeting request, meeting cancellation or
meeting response.
- The GetMessage method of the Session object may return a Message object
instead of a MeetingItem for a meeting request, meeting cancellation or
meeting response.
CAUSE
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 or 2000.
RESOLUTION
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:
Method One
Specify ProfileInfo when calling the Session.Logon method instead of
specifying a stored profile.
For example:
objSession.Logon ProfileInfo:= <server name> & vbLf & <mailbox name>
Method Two
Use a separate profile for CDO (1.x) applications and another for Outlook 98 or 2000.
REFERENCES
Collaboration Data Objects (1.2, 1.21) Help; search on: "GetDefaultFolder"
Modification Type: | Major | Last Reviewed: | 3/12/2004 |
---|
Keywords: | kbFAQ kbMsg kbprb KB194077 |
---|
|