- BlackBerry Enterprise Server 5.0 SP3 for Microsoft Exchange
- BlackBerry Enterprise Server Express 5.0 SP3 for Microsoft Exchange
- Microsoft Exchange Server 2010
After enabling Exchange Web Services (EWS) in BlackBerry Enterprise Server 5.0 SP3, calendar appointments created in either Microsoft Outlook or the BlackBerry smartphone do not synchronize.
The following lines may appear in the Messaging Agent (MAGT) Log:
[30193] (02/16 13:08:55.192):{0x2138} {user01@example.com} Receiving calendar update from device, RefId=1709547333, Tag=5392, TransactionId=14089204
[20216] (02/16 13:08:55.195):{0x2138} {user01@example.com} Synchronize() failed: ERR_FAIL, Tag=5392
[40000] (02/16 13:08:55.195):{0x2138} {user01@example.com}-HandleAppointmentToSynchronize-Exit-rc=Error
After raising log levels for CalHelper in the registry, the following log line may be present in the CalHelper (CALH) Logs:
[40000] (02/16 14:30:30.101):{0x98} {user01@example.com} Service::GetCalSyncFolderId exception caught: The request failed with HTTP status 405: Method Not Allowed.
- On the BlackBerry Enterprise Server, browse to C:\Research In Motion\BlackBerry Enterprise Server 5.0.x\bundle0000\tools (Where x indicates the service pack and 0000 indicates the bundle number)
- Make sure that the TraitTool.exe is present
- Open a Command Prompt:
For Windows Server 2003: Click Start > Run and type cmd
For Windows Server 2008: Click Start > and type cmd in the search field and press Ctrl+Shift+Enter to elevate permissions
- Navigate to the directory containing the TraitTool (i.e. cd C:\Research In Motion\BlackBerry Enterprise Server 5.0.3\bundle0033\tools)
- Clear all EWS settings using the following commands:
traittool -server <Server Name> -trait EWSEnable -erase
traittool -global -trait EWSEnable -erase
traittool -global -trait EWSCASURL -erase
- Re-enable EWS and point to the correct CAS URL using the following commands:
traittool -server <Server Name> -trait EWSEnable -set true
traittool.exe -server <Server Name> -trait EWSCASURL -set https://<Client Access FQDN>/ews/exchange.asmx
- Restart the BlackBerry Controller
Note: Restarting the BlackBerry Messaging Agent might cause mail flow delays for the other users on this BlackBerry Messaging Agent.
Note: For <Server Name>, use the instance name of the BlackBerry Enterprise Server. For <Client Access FQDN>, use the fully qualified domain name of the CAS server (i.e. https://CAS01.example.net/ews/Exchange.asmx)
Disclaimer
By downloading, accessing or otherwise using the Knowledge Base documents you agree:
(a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and
(b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.
Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.

