BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-15-2011, 04:24 AM   #1
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Event ID 20216 calendar sync Exch 2010

Please Login to Remove!

Hi there,

I've seen lots of articles regarding this error. Most of them are with Exchange 2003 and 2007. I'm dealing with a Windows 2008 server with Exchange 2010. The installation of BES was done in 2010. Since then no problems with syncing mail and calendar items.

On the 1st of november we've installed SP1 for Windows 2008. Reboot of the server was done a week later, on the 8th. Since the 3rd I noticed errors in the application log of Windows with eventid 20216. So i'm not sure if the installation of the SP has something to do with this problem. The date of the cdo.dll is 5-4-2010 and is located in the program files (x86)\ExchangeMapi folder.

I've checked the Send As permission for the Besadmin on the useraccounts, it's fine.

Again mail is fine. Only calendar items both ways. All services started. All users with diff BB phone's have the same problem.

What could be wrong?
Thanks.
__________________
--
Marcel

Last edited by mbr99; 11-15-2011 at 04:27 AM..
Offline  
Old 11-15-2011, 04:55 AM   #2
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default Re: Event ID 20216 calendar sync Exch 2010

What are the symptoms? Calendar items are not syncing at all both ways?
Offline  
Old 11-15-2011, 05:01 AM   #3
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

Yes. Correct. Creating items on both Outlook and the BB will not sync anymore.

BTW in the logs i also found this:

[30000] (11/15 09:23:04.704):{0x88C} [Alarm::ActivateAlarm] Queuing alarm: <N/A> | BlackBerry Messaging Agent MAILSERVER Agent 1 (Application Event Log on MAILSERVER) | 11/15/2011 09:23:04 (AFFF4EF8) -> {mailaddress@company.com} Synchronize() failed: ERR_FAIL, Tag=307920

I also wonder if it is correct this I only found one CDO.DLL in the earlier mentioned directory. Is this the correct location?
__________________
--
Marcel

Last edited by mbr99; 11-15-2011 at 05:12 AM..
Offline  
Old 11-15-2011, 05:11 AM   #4
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default Re: Event ID 20216 calendar sync Exch 2010

Use the IEMSTest utility and paste the results here. For details see:

KB02091-How to use the IEMSTest.exe tool to verify that the BlackBerry Enterprise Server service account can access user mailboxes
Offline  
Old 11-15-2011, 05:25 AM   #5
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

I seem to have problems running this tool. When starting it asks me for the profile. 2 profiles where set bot none of them seem to work. I'm logged in as domain\besadmin. I created a new profile, verified it so the underline under the username besadmin appeared, but again, a failure:

C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\Utility>iemstest.exe

BlackBerry Enterprise Server Utility - IEMSTest.exe (IExchangeManageStore), Version 1.0
OpenMsgStore() for this profile failed (8004011d)
__________________
--
Marcel
Offline  
Old 11-15-2011, 05:37 AM   #6
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default Re: Event ID 20216 calendar sync Exch 2010

You should choose the Profile called

BlackBerryServer

0x8004011d means "The server is not available", so I don't think it is a permissions issue. For some reason it doesn't find your Exchange server. Try to re-create the MAPI profile according to these instructions:

KB10285-How to recreate the BlackBerry Enterprise Server MAPI profile
Offline  
Old 11-15-2011, 06:18 AM   #7
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

Removed regkeys for the profiles and recreated it with succes.

Still, same error when choosing this profile from iemstest.
__________________
--
Marcel

Last edited by mbr99; 11-15-2011 at 06:26 AM.. Reason: forgot removing regkeys
Offline  
Old 11-15-2011, 07:27 AM   #8
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default Re: Event ID 20216 calendar sync Exch 2010

Have you done the throttling policies as per:

KB20608-Random BlackBerry smartphones fail to start and "MAPIMailbox - OpenMsgStore (0x8004011d) failed" appears in BlackBerry Messaging Agent and Application logs due to Microsoft Exchange 2010 Throttling Policy
Offline  
Old 11-15-2011, 09:57 AM   #9
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

I started in this article below to verify the policy:

Code:
[PS] C:\Windows\system32>Get-Mailbox "besadmin" | fl Name,ThrottlingPolicy

Name             : besadmin
ThrottlingPolicy : BESPolicy

[PS] C:\Windows\system32>Get-ThrottlingPolicy | Where-Object {$_.IsDefault -eq "True"} | FL Identity

Identity : DefaultThrottlingPolicy_30e5fc93-419b-4c82-9e53-b52ac4782cbc
Then ...

Code:
RunspaceId                     : 96d125e0-9fa5-4c54-9b99-0d5623f1a02a
IsDefault                      : False
EASMaxConcurrency              : 10
EASPercentTimeInAD             :
EASPercentTimeInCAS            :
EASPercentTimeInMailboxRPC     :
EWSMaxConcurrency              : 10
EWSPercentTimeInAD             :
EWSPercentTimeInCAS            :
EWSPercentTimeInMailboxRPC     :
EWSMaxSubscriptions            :
EWSFastSearchTimeoutInSeconds  : 60
EWSFindCountLimit              :
IMAPMaxConcurrency             :
IMAPPercentTimeInAD            :
IMAPPercentTimeInCAS           :
IMAPPercentTimeInMailboxRPC    :
OWAMaxConcurrency              : 5
OWAPercentTimeInAD             :
OWAPercentTimeInCAS            :
OWAPercentTimeInMailboxRPC     :
POPMaxConcurrency              : 20
POPPercentTimeInAD             :
POPPercentTimeInCAS            :
POPPercentTimeInMailboxRPC     :
PowerShellMaxConcurrency       : 18
PowerShellMaxCmdlets           :
PowerShellMaxCmdletsTimePeriod :
ExchangeMaxCmdlets             :
PowerShellMaxCmdletQueueDepth  :
RCAMaxConcurrency              : 20
RCAPercentTimeInAD             :
RCAPercentTimeInCAS            :
RCAPercentTimeInMailboxRPC     :
MessageRateLimit               :
RecipientRateLimit             :
ForwardeeLimit                 :
CPUStartPercent                : 75
AdminDisplayName               :
ExchangeVersion                : 0.10 (14.0.100.0)
Name                           : BESPolicy
DistinguishedName              : CN=BESPolicy,CN=Global Settings,CN=Kantoor Mail,CN=Microsoft Exchange,CN=Services,CN=C
                                 onfiguration,DC=kantoor,DC=nl
Identity                       : BESPolicy
Guid                           : 499f3ed8-c464-4ad7-a01d-e7566feb0522
ObjectCategory                 : kantoor.nl/Configuration/Schema/ms-Exch-Throttling-Policy
ObjectClass                    : {top, msExchGenericPolicy, msExchThrottlingPolicy}
WhenChanged                    : 1-10-2010 9:55:12
WhenCreated                    : 1-10-2010 9:55:12
WhenChangedUTC                 : 1-10-2010 7:55:12
WhenCreatedUTC                 : 1-10-2010 7:55:12
OrganizationId                 :
OriginatingServer              : MAILSERVER.kantoor.nl
IsValid                        : True
In this poplicy not all fields are blank as described. But should the guid be the same as the DefaultThrottlingPolicy nr mentioned above? So am I looking at the right policy then?
__________________
--
Marcel
Offline  
Old 11-16-2011, 09:51 AM   #10
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

Hi freakinvibe. Are you able to help me further?
__________________
--
Marcel
Offline  
Old 11-16-2011, 10:05 AM   #11
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: Event ID 20216 calendar sync Exch 2010

Shouldn't the EWSMaxConcurrency be NULL?
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Old 11-16-2011, 10:10 AM   #12
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

@MisterGriffiths: and there are some other settings that should be null. The only thing I'm doubting about is, am I looking at the correct policy before I change these settings as described in the throthling document.
__________________
--
Marcel
Offline  
Old 11-16-2011, 10:13 AM   #13
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: Event ID 20216 calendar sync Exch 2010

I'd perhaps consider starting from scratch. Unassign BESAdmin from BESPolicy, delete BESPolicy and then recreate BES Policy again as per the document.
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Old 11-16-2011, 10:34 AM   #14
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

As the document described, the default throthling policy is not the besadmin policy, so changing the policy should be safe.

I've performed this via the shell:"

Code:
1.On the Microsoft Exchange Server, click Start > Microsoft Exchange Server 2010 > Exchange Management Shell. 
2.Type Set-ThrottlingPolicy BESPolicy -RCAMaxConcurrency $null -RCAPercentTimeInAD $null -RCAPercentTimeInCAS $null -RCAPercentTimeInMailboxRPC $null -EWSMaxConcurrency $null -EWSPercentTimeInAD $null -EWSPercentTimeInCAS $null -EWSPercentTimeInMailboxRPC $null -EWSMaxSubscriptions $null -EWSFastSearchTimeoutInSeconds $null -EWSFindCountLimit $null
3.Type Set-Mailbox "BESAdmin" -ThrottlingPolicy BESPolicy. 
4.Restart the BlackBerry Controller Service.
I'll wait as described in the document and try the iemstest later on.

Thanks for now.
__________________
--
Marcel
Offline  
Old 11-16-2011, 10:42 AM   #15
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: Event ID 20216 calendar sync Exch 2010

Are you running Exchange 2010 SP1?
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Old 11-16-2011, 11:02 AM   #16
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

No without SP1.
__________________
--
Marcel
Offline  
Old 11-16-2011, 11:07 AM   #17
MisterGriffiths
Talking BlackBerry Encyclopedia
 
MisterGriffiths's Avatar
 
Join Date: Nov 2007
Location: London
Model: 9780
OS: 5.0.3.31
PIN: N/A
Carrier: O2
Posts: 208
Default Re: Event ID 20216 calendar sync Exch 2010

Good stuff. Do report back and let us know how you get on.
__________________
BES 5.0.3 MR4
Exchange 2010 (SP1 RU3)
SQL 2008 R2
Offline  
Old 11-17-2011, 02:39 AM   #18
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

OK good news. The last change in the settings of the besadmin profile made me running the iemstest, i finaly could select mailboxes.

This is the output:

Quote:
Opening Default Message Store Mailbox - besadmin

USERNAME: Opening message store using
/o=Kantoor Mail/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=USERNAME
/o=Kantoor Mail/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MAILSERVER/cn=Microsoft Private MDB
USERNAME: Mailbox opened successfully
USERNAME: Root Folder opened successfully
USERNAME: Folder created successfully
USERNAME: Test folder deleted successfully
USERNAME: MAPI test completed successfully
USERNAME: CDO Server Name: MAILSERVER
USERNAME: CDO Mailbox DN: /o=Kantoor Mail/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=USERNAME
USERNAME: CDO logon successful
USERNAME: Get default calendar folder successful
USERNAME: Get calendar folder name successful: 'Agenda'
USERNAME: CDO test completed successfully
USERNAME: Active Directory permissions test completed successfully
USERNAME: Initializing EWS Proxy... successful
USERNAME: Configuring User... successful
USERNAME: EWS calendar find request... failed


What i see in the forums is that there are 2 ways for syncing calendars, cdo and ews. Since cde reports no failure, should the problem be solved since again i changed the besadmin profile?

What also sounds good is that error 20216 did not appear anymore in the eventlogs since this change.

I'm in the meanwhile waiting for output of users with a blackberry since I myself own a iPhone.
__________________
--
Marcel

Last edited by mbr99; 11-17-2011 at 02:47 AM..
Offline  
Old 11-17-2011, 04:10 AM   #19
freakinvibe
BlackBerry Extraordinaire
 
Join Date: Aug 2008
Location: Basel
Model: Class
PIN: N/A
Carrier: Swisscom
Posts: 1,616
Default Re: Event ID 20216 calendar sync Exch 2010

Quote:
USERNAME: EWS calendar find request... failed
This is normal behaviour if you don't use EWS, so nothing to worry about.
Offline  
Old 11-17-2011, 04:11 AM   #20
mbr99
New Member
 
Join Date: Nov 2011
Model: 9700
PIN: N/A
Carrier: Vodafoon
Posts: 15
Default Re: Event ID 20216 calendar sync Exch 2010

OK thanks. I will wait for user input now.
__________________
--
Marcel
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Event ID 20216 calendar sync Exch 2010
Thread Thread Starter Forum Replies Last Post
Google Sync: Only an "Unknown" Calendar on Blackberry frankdoylezw General BlackBerry Discussion 1 02-11-2010 03:17 PM
Tour sync deleted all calendar items on Outlook dr 997 General BlackBerry Discussion 3 12-31-2009 07:50 PM
switching calendar sync from wireless to usb calvinb General BlackBerry Discussion 1 12-18-2009 10:19 PM
Unable to sync Calendar with Outlook/BDM because "Wireless Calendar Sync is enabled" BBEnZ BES Admin Corner 4 04-28-2008 08:08 AM
Calendar sync issues driving me nuts! abfield General BlackBerry Discussion 4 05-24-2007 10:13 PM


MEASUREMENT COMPUTING/COMPUTER BOARDS ANALOG INPUTS BOARD CIO-DAS16JR/16 16BIT R picture

MEASUREMENT COMPUTING/COMPUTER BOARDS ANALOG INPUTS BOARD CIO-DAS16JR/16 16BIT R

$751.06



VINTAGE COMPUTER LABS ANALOG DEVICES A/D CONVERTER HAS-1002 picture

VINTAGE COMPUTER LABS ANALOG DEVICES A/D CONVERTER HAS-1002

$80.00



CWT COMPUTER WELD TECHNOLOGY DART DIGITAL ANALOG REMOTE TRANSDUCER A3A0207 I8 picture

CWT COMPUTER WELD TECHNOLOGY DART DIGITAL ANALOG REMOTE TRANSDUCER A3A0207 I8

$99.94



computer board picture

computer board

$2350.00



Rolls R PWR Supply RS232 Computer Marker I/O Digital Analog Card Reader picture

Rolls R PWR Supply RS232 Computer Marker I/O Digital Analog Card Reader

$309.39



Analog Keyboard And Mouse Functions Joystick Shield Boards Computer Applications picture

Analog Keyboard And Mouse Functions Joystick Shield Boards Computer Applications

$13.16







Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.