Calendar – One way sync errors

Are some of your users experiencing strange one way sync problems with their Calendar? Are appointments syncing from Outlook to the BlackBerry just fine but do appointments created on the BlackBerry not sync to Outlook for these users?

Other users on the same BlackBerry Enterprise Server (BES), Exchange Mailbox server and even Exchange database are not reporting the same issues? Effectively ruling out MapiCDO or permissions related configuration errors.

Have these users been migrated or their mailboxes moved?

If everything else checks out it may just may be some index or calendering related data in the user’s mailbox that is corrupt. Try to resolve these issues by performing the following commands against the user’s mailbox:

  • outlook.exe /cleanschedplus
  • outlook.exe /cleanreminders
  • outlook.exe /cleanfreebusy

These switches exist for Outlook 2002, 2003, 2007 and 2010. Search the Microsoft Office site for more information regarding these switches.

Additional information.
When one of these users makes an appointment from the handheld the MAGT log shows lines similar to:

[30000]:{0x364} {user@example.com} CDOCalendar::UpdateAppointment – Receiving synchronization request from device [Parent Id=1234567, RefId=1234567]
[30001]:{0x364} CDOCalendar::UpdateAppointment – Code = 800406f7, WCode = 04f7, Code meaning = IDispatch error #1271,
[30005]:{0x364}     Source = Collaboration Data Objects, Description =  [Collaboration Data Objects – [MAPI_E_NOT_FOUND(8004010F)]]
[30180]:{0x364} {user@example.com} CDOCalendar::UpdateAppointment – Error in call spAppointmentItem->Update(1)
[30001]:{0x364} CDOCalendar::UpdateAppointment – Code = 800406f7, WCode = 04f7, Code meaning = IDispatch error #1271,
[30005]:{0x364}     Source = Collaboration Data Objects, Description =  [Collaboration Data Objects – [MAPI_E_NOT_FOUND(8004010F)]]
[30180]:{0x364} {user@example.com} CDOCalendar::UpdateAppointment – Error in call spAppointmentItem->Delete(1)

[40295]:{0x27B8} {user@example.com} Synchronize() failed: ERR_NOT_FOUND, Tag=7283
[40000]:{0x27B8} {user@example.com}-HandleAppointmentToSynchronize-Exit-rc=Error
[40279]:{0x27B8} {user@example.com} SubmitToRelaySendQ, Tag=7283

[40465]:{0x25E4} {user@example.com} Get source key for this MAPI object, EntryId=5261
[40405]:{0x25E4} {user@example.com} MAPIMailbox::OpenMessage – OpenEntry (0x8004010f) failed
[40466]:{0x25E4} {user@example.com} Unable to get source key for this MAPI object, EntryId=5261

Some KB articles mention the IDispatch error is related to the Collaboration Data Object (CDO) not being able to obtain the calendar appointment because it cannot find the PR_SOURCE_KEY. Calendar appointments are located by the PR_SOURCE_KEY.

These articles advise you to backup the user’s mailbox to PST, delete the mailbox, create a new mailbox and restore the contents from the PST. I would suggest using the Outlook /clean switches before taking such drastic steps.