Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ICS synchronization returns MAPI_E_CORRUPT_DATA

23 views
Skip to first unread message

Rasmus Aas Schram

unread,
Jun 22, 2009, 2:19:01 PM6/22/09
to

Hello
I have an issue with my application synchronizing calendar entries from
Exchange using the Incremental Change Synchronization (ICS) through the
IExchangeExportChanges interface. In some environments the
'IExchangeExportChanges::Synchronize' function returns with the MAPI error:
'MAPI_E_CORRUPT_DATA'. When this occures the MAPI callback synchronization
stops and you cannot get any furhter. Because of the error code received I
tried to go dirrectly on the users Calendar folder and open all messages
within it (still throug MAPI), and this did not cause any errors. So I am a
little stuck here, because we cannot use the direct method because of
performance losses on the Exchange servers. Does anyone known of a a
potential problem in MAPI/Exchange regarding the corrupt data issue. From my
point of view I can only see that the problem can exist in the MAPI
implementation either on the client side (outlook) or the Exchange side
implementation.

I am able to reproduce the errors by exporting the failing users calendar to
another user which prior to the importation worked fine. I have tried it both
on Exchange 2003 and 2007 and with Outlook 2003 and 2007 as MAPI clients. The
MAPI call that returns the corrupt Error message (MAPI_E_CORRUPT_DATA) is the
'IExchangeExportChanges::Synchronize' function. This error has been observed
in an environment where mailboxes have been moved from Exchange 2003 to 2007,
using the Microsoft prefered procedure. I have also tried to run the
scanpst.exe file on the exported files where it reports alot of errors which
it fixes, but when importing the corrected pst file the corrupt data problem
still exists. So it seams like that these calendar folders are containing
data that cannot be processed by the IExchangeExportChanges interface.

Thanx in advance
Regards rasmus

Dmitry Streblechenko

unread,
Jun 22, 2009, 2:44:31 PM6/22/09
to

Does the following apply?
http://blogs.msdn.com/deva/archive/2009/01/29/legacy-cdoex-application-throws-error-8004011b-when-we-open-appointment-created-using-exchange-web-service-ews.aspx

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Rasmus Aas Schram" <RasmusA...@discussions.microsoft.com> wrote in
message news:9FE37649-785D-4D18...@microsoft.com...

Rasmus Aas Schram

unread,
Jun 22, 2009, 3:39:02 PM6/22/09
to

No I do not think this is the problem, because I am able to open the
messages dirrectly, throug my own application, your outlook spy and mfcmapi.
And I cannot se any culture property or any other property with those values
specified. Do you have any other idear, i have a pst file that causes the
error when imported into a healthy mailbox, but i really can manage to find
the issue.
0 new messages