Monday 24 June 2013

Meeting Request getting red X

Recently i have encountered an issue where one of our blackberry server users are unable to create meeting requests and calendar appointments are not synchronizing on BB device.

As our BES server version is 5.0 SP4 it supports CDO or EWS. As EWS is not working, decided to turn off EWS to use CDO for the calendaring functionality on the blackberry server. 

To disable EWS on blackberry server:

Open command prompt as administrator
Browse to the tools where Traittool is present (It will be present under bundle38)
Run the below command to disable EWS (Refer KB20157)

Traittool -server <Server Name> -Trait EWSEnable -set false

After disabling EWS, using CDO calendar functionality started working. Meeting requests are getting created without red X.

Its the time to check why EWS is not working and in order to check i have enabled static agent and assigned the static agent number as 213 for the test blackberry account.

Note: You can assign the static agent from the range of 200 to 399 (Refer KB12766)

Again enabled the EWS using below command

Traittool -server <Server Name> -Trait EWSEnable -set true

Now CALH logs will generate and while i checked the CALH logs for the agent 213, i found 
[40000] (06/21 02:20:11.560):{0x2DC8} <emailaddress of test blackberry account> Service::GetCalSyncFolderId exception caught: Unable to connect to the remote server

traittool -server <Server Name> -list > c:\EWSinfo

When i have checked the log, i have found the cause for the issue, where two entries related to EWS is missing. (EWSSCPURL & EWSCASURL)

traittool -server <server_name> -trait EWSSCPURL -set <web_address>


traittool -server <server_name> -trait EWSCASURL -set <web_address>

After i have added EWSCASURL,EWSSCPURL & restarted BES Controller service on the server.

I have tested by creating a meeting request and now i can see meeting request are processing as expected.

No comments:

Post a Comment