Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Contributor
Posts: 20
Registered: ‎02-03-2009
My Device: Not Specified

Calendar stopped synching with Outlook

Hello,

 

A Tour 9630 user complained today that she double-booked herself because her device calendar stopped synching w/Outlook 2007.  Thanks in part to helpful support from experts here, we have been successfully running BES 5.0 for about a month on a DC (BESAdmin is only local admin), with Exchange 2003 SP2 (with coordinated dll) on a separate box.  October's Windows server updates have not yet been applied (though we experienced a Nov. 3 issue with McAfee's AV update, which prompted me to except the BES folders' contents from scanning on writes - BES runs great since server restart).

 

Historically, this user has experienced the occasional slow calendar sync - her Outlook ost ranges from 7-10+ GB, depending on its archiving status (set to archive everything older than 90 days).  She keeps up to 60 days of emails on the Tour.  Most of our 12 Blackberry users have ost files over 5G in size, wtih few reported issues.

 

This is one of them, and it's afflicting a C-level rainmaker.  Today's logs indicate exceptions handled, but no calendar sync errors that I could find.  It seems to me that we're pushing a few limits here - BES, Outlook and users.  Other than 1) more aggressively archiving her Outlook store (which won't fly), 2) implementing weekly ost maintenance to optimize file integrity and 3) clamping down on in-house emailing of high-res graphics files, what might be possible to provide this user with improved calendar synching?

 

Thanks for all direction.

Contributor
Posts: 14
Registered: ‎07-31-2009
My Device: Not Specified

Re: Calendar stopped synching with Outlook

I am now having the same exact issue after MR3 update.

Contributor
Posts: 20
Registered: ‎02-03-2009
My Device: Not Specified

Re: Calendar stopped synching with Outlook

OK, we've got a slight update here.  Here's the behavior:

User creates an appointment on the device.  It reaches Outlook, either immediately or after awhile, say, an hour.
User sends a new meeting request from the device.  It doesn't reach Outlook, even after more than 36 hours.  The user showed me two of these, and I created and confirmed a third instance where the meeting sent from the device failed to reach Outlook.


Before creating my test meeting request, I checked the two original failed ones:  I made a schedule change to one device appointment (and chose not to notify attendees); after some minutes of delay, the appointment finally appeared in Outlook.  The other appointment still hasn't reached Outlook.


Did these meeting requests reach BES?  Yes.  Cleanly?  Yes and no.  Log entries that I've reviewed seem to indicate some intermittence - though the user reports failures only with meeting requests sent.  I'm not an expert on the logs, but here are some likely-pertinent entries:  

40000] (11/12 15:42:52.125):{0x1FC8} [BIPP] Received datagram, Tag=26725
[40700] (11/12 15:42:52.125):{0x10F8} {user@domain} Receiving packet from device, size=136, TransactionId=-1763387715, Tag=26725, content type=CICAL, cmd=0x3
[40000] (11/12 15:42:52.125):{0x10F8} {user@domain} -HandleAppointmentToSynchronize-Entering-Tag=26725
[30193] (11/12 15:42:52.125):{0x10F8} {user@domain} Receiving calendar update from device, RefId=861301710, Tag=26725, TransactionId=-1763387715
[40122] (11/12 15:42:52.250):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Receiving synchronization request from device [Parent Id=861301710, RefId=861301710]
[20035] (11/12 15:42:52.343):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Exception handled
[30180] (11/12 15:42:52.343):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Error in call spAppointmentItem->Update(1)
[20035] (11/12 15:42:52.343):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Exception handled
[30180] (11/12 15:42:52.343):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Error in call spAppointmentItem->Delete(1)
[20216] (11/12 15:42:52.625):{0x10F8} {user@domain} Synchronize() failed: ERR_FAIL, Tag=26725
[40000] (11/12 15:42:52.625):{0x10F8} {user@domain}-HandleAppointmentToSynchronize-Exit-rc=Error
[40279] (11/12 15:42:52.625):{0x10F8} {user@domain} SubmitToRelaySendQ, Tag=26725
[40000] (11/12 15:42:52.625):{0x1FCC} [BIPP] Send status DATA_ACCEPTED, Tag=26725
...
[40373] (11/12 15:42:52.640):{0x1E3C} {user@domain} Queuing notification of modified appointment (external). EntryId=2212774 (delay processing 2 seconds)[40373] (11/12 15:42:52.640):{0x1E3C} {user@domain} Queuing notification of modified appointment (external). EntryId=2212775 (delay processing 2 seconds)[40465] (11/12 15:42:52.640):{0x10F8} {user@domain} Get source key for this MAPI object, EntryId=2212774
[40405] (11/12 15:42:52.640):{0x10F8} {user@domain} MAPIMailbox:Smiley SurprisedpenMessage - OpenEntry (Ăx8004010f) failed
[40466] (11/12 15:42:52.640):{0x10F8} {user@domain} Unable to get source key for this MAPI object, EntryId=2212774
[40465] (11/12 15:42:52.640):{0x10F8} {user@domain} Get source key for this MAPI object, EntryId=2212775
[40405] (11/12 15:42:52.656):{0x10F8} {user@domain} MAPIMailbox:Smiley SurprisedpenMessage - OpenEntry (0x8004010f) failed
[40466] (11/12 15:42:52.656):{0x10F8} {user@domain} Unable to get source key for this MAPI object, EntryId=2212775


The latter entries stream for minutes:

 

[40465] (11/12 15:44:08.781):{0x10FC} {user@domain} Get source key for this MAPI object, EntryId=2216424
[40405] (11/12 15:44:08.781):{0x10FC} {user@domain} MAPIMailbox:Smiley SurprisedpenMessage - OpenEntry (0x8004010f) failed
[40466] (11/12 15:44:08.781):{0x10FC} {user@domain} Unable to get source key for this MĂPI object, EntryId=2216424

followed by more:

[40373] (11/12 15:44:09.750):{0x1E3C} {user@domain} Queuing notification of modified appointment (external). EntryId=2216449 (delay processing 2 seconds)
[40405] (11/12 15:44:09.750):{0x1154} {user@domain} MAPIMailbox:Smiley SurprisedpenMessage - OpenEntry (0x8004010f) failed
[40466] (11/12 15:44:09.750):{0x1154} {user@domain} Unable to get source key for this MAPI object, EntryId=2216436

Subsequent errors refer to requeing a deleted appointment and "never synchronized. Deletion filtered."  

Finally, here is a last set of entries for that time period:

[40690] (11/12 16:05:38.968):{0xF84} {user@domain} Starting message status rescan
[40691] (11/12 16:05:39.093):{0xF84} {user@domain} Message status rescan completed
[40000] (11/12 16:05:41.468):{0x1FC8} [BIPP] Received datagram, Tag=26769
[40700] (11/12 16:05:41.468):{0x1198} {user@domain} Receiving packet from device, size=510, TransactionId=-1763387709, Tag=26769, content type=CMIME, cmd=0x3
[30112] (11/12 16:05:41.468):{0x1198} {user@domain} Receiving message from device, RefId=2080274371, Tag=26769, TransactionId=-1763387709
[40122] (11/12 16:05:41.921):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Receiving synchronization request from device [Parent Id=1614867651, RefId=1614867651]
[20035] (11/12 16:05:42.015):{0x1E34} {user@domain}  CDOCalendar::UpdateAppointment - Exception handled
[30180] (11/12 16:05:42.015):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Error in call spAppointmentItem->Send 2
[20035] (11/12 16:05:42.125):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Exception handled
[30180] (11/12 16:05:42.125):{0x1E34} {user@domain} CDOCalendar::UpdateAppointment - Error in call spAppointmentItem->Delete(1)
[20000] (11/12 16:05:42.296):{0x1198} {user@domain} Unable to process Meeting Request in SendHelper
[20000] (11/12 16:05:42.296):{0x1198} {user@domain} Send() failed: ERR_FAIL, Tag=26769
[40277] (11/12 16:05:42.296):{0x1198} {user@domain} Sending message error to device for message 2080274371
[40583] (11/12 16:05:42.296):{0x1198} {user@domain} Sending packet to device, Size=48, Tag=61999, TransactionId=-890176227
[40279] (11/12 16:05:42.296):{0x1198} {user@domain} SubmitToRelaySendQ, Tag=61999
[40000] (11/12 16:05:42.296):{0x1FCC} [BIPP] Send data, Tag=61999
[40279] (11/12 16:05:42.296):{0x1198} {user@domain} SubmitToRelaySendQ, Tag=26769
[40000] (11/12 16:05:42.296):{0x1FCC} [BIPP] Send status DATA_ACCEPTED, Tag=26769
[40373] (11/12 16:05:42.312):{0x1E3C} {user@domain} Queuing notification of modified appointment (external). EntryId=2224536 (delay processing 2 seconds)
[40465] (11/12 16:05:42.312):{0x1198} {user@domain} Get source key for this MAPI object, EntryId=2224536
[40405] (11/12 16:05:42.328):{0x1198} {user@domain} MAPIMailbox:Smiley SurprisedpenMessage - OpenEntry (0x8004010f) failed
[40466] (11/12 16:05:42.328):{0x1198} {user@domain} Unable to get source key for this MAPI object, EntryId=2224536
[40405] (11/12 16:05:42.328):{0x1E3C} {user@domain} MAPIMailbox::HandleObjectModifiedNotification - OpenEntry (0x8004010f) failed
[40373] (11/12 16:05:42.328):{0x1E3C} {user@domain} Queuing notification of modified appointment (external). EntryId=2224537 (delay processing 2 seconds)
[40465] (11/12 16:05:42.328):{0x1154} {user@domain} Get source key for this MAPI object, EntryId=2224537


Having heard that regenerating the encryption key can resolve sync issues with calendar and task/notes, I watched the user do the regeneration, and directed her to send a meeting request test from the device.  

I received the sender's request in Outlook (2007, on fully-patched Exchange 2003 SP2), but the request does not appear in the sender's Outlook or OWA.  Simple appointments sync from the device to Outlook almost immediately, or within a minute at most during my tests.

The user's Outlook store is pretty clean at this point, and aggressively archived, which has substantially decreased the store size.  This, and the difference between the behaviors of simple appointments and meeting requests, lead me to wonder whether BES, not Outlook and not the user, may be behind these sync failures.  This said, I'm open to all direction on this.

Thanks in advance.

Forums Advisor III
Posts: 1,078
Registered: ‎05-26-2008
My Device: 8300

Re: Calendar stopped synching with Outlook

Hi,

 

What version of MAPI32.DLL and CDO.DLL do you have on the BES?

What version of MAPI32.DLL and CDO.DLL do you have on the Exchange server she is connected to?

 



Checked out my Blackberry FAQ's and Links to Needed Articles here
http://darkeen.homelinux.com/index.php/Blackberryfaq
Contributor
Posts: 20
Registered: ‎02-03-2009
My Device: Not Specified

Re: Calendar stopped synching with Outlook

BES:

mapi32.dll:  6.5.6944.0 (in Program Files/exchsrvr/bin and system 32)

cdo.dll:          6.5.6944.0 (in Program Files/exchsrvr/bin)

 

EXCHANGE:

mapi32.dll:  6.5.7654.12 (in Program Files/exchsrvr/bin and system 32)

cdo.dll:          6.5.7654.12 (in Program Files/exchsrvr/bin)

Guru III
Posts: 31,533
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Passport, Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: Calendar stopped synching with Outlook

Highlighted
Contributor
Posts: 20
Registered: ‎02-03-2009
My Device: Not Specified

Re: Calendar stopped synching with Outlook

Thank you; unfortunately, the msi doesn't appear to like our BES, which is Windows Server SP2.  Microsoft's help site seems to be the opposite of helpful. 

 

Do you know where I can locate the dll files, so that I can manually register them?

Forums Advisor III
Posts: 1,078
Registered: ‎05-26-2008
My Device: 8300

Re: Calendar stopped synching with Outlook

Hi,.

 

This will help:

 

http://www.blackberry.com/btsc/KB15779



Checked out my Blackberry FAQ's and Links to Needed Articles here
http://darkeen.homelinux.com/index.php/Blackberryfaq
Contributor
Posts: 20
Registered: ‎02-03-2009
My Device: Not Specified

Re: Calendar stopped synching with Outlook

[ Edited ]

Thanks; it did help, but didn't succeed.  The updated instructions appear to have a typo, referring to "MSMDB32.DLL" rather than "EMSMDB32.DLL."  Of course, the search did find the file anyway. 

 

Though the search succeeded, the attempt to install the new cdo.dll and mapi.dll files failed.  Apparently the tool still thinks Exchange is installed, reporting that it couldn't be installed with "this version of Exchange."  But I had just removed ESM and restarted the machine.

 

Running fixMAPI.exe puts a Feb. 17, 2007 version of mapi32.dll into the system32 folder.  Running the MAPI/CDO 1.2.1 tool either before or after renaming that file produced the same result. 

 

Just as a refresher bump, these are the specs:

 

Windows Server 2003, SP2, fully patched (w/any BES-specific modifications)

    BES5.0, MR2; BES cdo.dll and mapi.dll:  6.5.6944.0

 

Exchange Enterprise Server 2003, SP2, fully patched (w/any BES-specific modifications)

    cdo.dll and mapi.dll:  6.5.7654.12

 

I'm stumped.  What am I missing?

 

 

Forums Advisor III
Posts: 1,078
Registered: ‎05-26-2008
My Device: 8300

Re: Calendar stopped synching with Outlook

Hi,

 

Everything cdo.dll - rename to .old

 

Everything mapi32.dll - rename to .old

 

Run exchangemapicdo.exe and it will install into c:\program files\exchsrvr\bin

Restart the BES and away you go.

 



Checked out my Blackberry FAQ's and Links to Needed Articles here
http://darkeen.homelinux.com/index.php/Blackberryfaq