Access violation occurs when you use CDO to open an appointment (821646)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

SYMPTOMS

When you use Collaboration Data Objects (CDO) to open an appointment programmatically, and then you call the MAPIOBJECT property from the CDO appointment, you receive an error message that is similar to the following:
Unhandled exception in badcdo.exe(CDO.DLL): 0xc0000005: Access Violation.
When you perform additional troubleshooting, you notice that the error occurs during the execution of a line of code that is similar to the following:
pBaseUnknown.Attach(pCDOAppointment->GetMAPIOBJECT());
Note You expect the program to return an error code when it encounters an error retrieving the MAPIOBJECT property.

CAUSE

This access violation occurs when you call the GetMAPIOBJECT method for a corrupted appointment item.

RESOLUTION

Cumulative Rollup Information

To resolve this problem, obtain the September 2003 Exchange 2000 Server Post-Service Pack 3 (SP3) Rollup. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824282 September 2003 Exchange 2000 Server Post-Service Pack 3 Rollup

Hotfix Information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, 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. Component:

The English version of this fix has the file attributes (or later file attributes) 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
   -----------------------------------------------------
   18-Jun-2003  23:14  6.0.6477.0  716,800  Cdo.dll          
   18-Jun-2003  23:09  6.0.6477.0  557,056  Cdohtml.dll
Note Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 3 (SP3). For more information about how to obtain the latest Exchange 2000 Server service pack, click the following article number to view the article in the Microsoft Knowledge Base:

301378 How to obtain the latest Exchange 2000 Server service pack

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server.

Modification Type:MinorLast Reviewed:3/7/2006
Keywords:kbHotfixServer kbQFE kbQFE kbfix kbExchange2000preSP4fix kbbug KB821646