OL98: "Type Mismatch" Error Message When You Use the Outlook Object Model to Access Appointments (274127)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q274127

SYMPTOMS

When you use the Outlook object model to access appointments, you may receive a "type mismatch" error message.

CAUSE

This error message occurs when the appointments collection contains a meeting conflict item.

WORKAROUND

To work around this behavior, go through the appointments collection by using MAPI to resolve schedule conflicts. After conflicts are resolved, run the Outlook object model script or code.

You can use MAPI to determine if a meeting is in conflict when you test the MSGSTATUS_IN_CONFLICT bit of the PR_MESSAGE_STATUS property.

For more information about meeting conflicts, view the following Microsoft Developer Network (MSDN) Web site:

MORE INFORMATION

Conflict items occur when more than one item is scheduled for the same time period. This occurs when more than one user makes appointments for the same calendar. The Outlook object model does not contain a functionality that resolves schedule conflicts or that indicates that a meeting is in conflict with another meeting.

Modification Type:MajorLast Reviewed:4/5/2006
Keywords:kbprb KB274127