Correcting calendar synchronization errors on devices
If you run corrective calendar synchronization on a BlackBerry® Enterprise Server Express instance, you can find and correct differences between the calendar entries on BlackBerry devices and the calendar entries on users' computers. You can specify a recurring day and time when the process can run and specific days when the process should check for calendar synchronization errors.
You configure corrective calendar synchronization using the BlackBerry Enterprise Trait Tool, which is located in the Tools folder of the BlackBerry Enterprise Server Express installation files.
If corrective calendar synchronization finds differences between the calendar entries on a device and the calendar entries on a computer, the process writes information about the differences to the BlackBerry Messaging Agent log file and, optionally, automatically corrects the calendar synchronization errors that it finds.
It is a best practice to schedule corrective calendar synchronization to occur during low-use periods. For example, you can schedule the process to begin in the early evening, before devices are scheduled to turn off automatically.
Configuration levels using the BlackBerry Enterprise Trait Tool
You can use the BlackBerry® Enterprise Trait Tool to specify whether corrective calendar synchronization checks calendar entries for a specific user, users on a specific BlackBerry® Enterprise Server Express, or all users. The tool uses a hierarchy to determine what calendar entries to check. Settings at the user level override settings at the server level, settings at the server level override settings at the global level, and settings at the global level override the default settings.
Turn off corrective calendar synchronization
By default, corrective calendar synchronization is turned on. If you do not want the BlackBerry® Enterprise Server Express to check for differences between calendar entries on BlackBerry® devices and calendar entries on users' computers, you can turn off corrective calendar synchronization.
- Copy the BlackBerry Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to the folder that contains the TraitTool.exe file.
- Perform one of the following actions:
- To turn off corrective calendar synchronization for a specific user account, type traittool -user <smtp_address> -trait ExchangeSmartSyncEnable -set false.
- To turn off corrective calendar synchronization for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait ExchangeSmartSyncEnable -set false.
- To turn off corrective calendar synchronization for all user accounts, type traittool -global -trait ExchangeSmartSyncEnable -set false.
- Press ENTER.
Example: Turning off the process for all users
traittool -global -trait ExchangeSmartSyncEnable -set false
traittool -user ian.dundas@blackberry.com -trait ExchangeSmartSyncEnable -set false
View the current settings for corrective calendar synchronization
- Copy the BlackBerry® Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to the folder that the TraitTool.exe file is located in.
- Perform one of the following actions:
- To view the calendar synchronization settings for a specific user account, type traittool -user <smtp_address> -list.
- To view the calendar synchronization settings for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -list.
- To view the calendar synchronization settings for all user accounts, type traittool -global -list.
- Press ENTER.
Turn off automatic error correction in corrective calendar synchronization
- Copy the BlackBerry® Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to <extracted_folder>\tools.
- Perform one of the following actions:
- To turn off automatic correction of calendar synchronization errors for a specific user account, type traittool -user <smtp_address> -trait ExchangeSmartSyncSendUpdate -set false.
- To turn off automatic correction of calendar synchronization errors for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait ExchangeSmartSyncSendUpdate -set false.
- To turn off automatic correction of calendar synchronization errors for all user accounts, type traittool -global -trait ExchangeSmartSyncSendUpdate -set false.
- Press ENTER.
Example: Turn off automatic error correction for a specific user
traittool -user ian.dundas@blackberry.com -trait ExchangeSmartSyncSendUpdate -set false
Configure the range of days to check for calendar synchronization errors
- Copy the BlackBerry® Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to the folder that the TraitTool.exe file is located in.
- Perform one of the following actions:
- To check for calendar synchronization errors during a specific range of days in the calendar for a user account, type traittool -user <smtp_address> -trait ExchangeSmartSyncDays -set <value>, where <value> is a number from 1 to 365.
- To check for calendar synchronization errors during a specific range of days in the calendar for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait ExchangeSmartSyncDays -set <value>, where <value> is a number from 1 to 365.
- To check for calendar synchronization errors during a specific range of days in the calendar for all user accounts, type traittool -global -trait ExchangeSmartSyncDays -set <value>, where <value> is a number from 1 to 365.
- Press ENTER.
Configure when corrective calendar synchronization runs
You can configure corrective calendar synchronization to start running at a specific hour, on recurring days, or on only one recurring day. To specify more than one value for when corrective calendar synchronization runs, after you extract the BlackBerry® Enterprise Server Express installation files to the computer, you can create a list of values that are separated by commas (,) at the command prompt.
- Copy the BlackBerry Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to the folder that the TraitTool.exe file is located in.
- Perform one of the following actions:
- To configure calendar synchronization to occur at a specific hour for a specific user account, type traittool -user <smtp_address> -trait ExchangeSmartSyncTriggerHour -set <value>, where <value> is a number from 0 to 23, 0 is 12:00 AM, and 23 is 11:00 PM. The default value is 0, which is 12:00 AM.
- To configure calendar synchronization to occur at a specific hour for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait ExchangeSmartSyncTriggerHour -set <value>, where <value> is a number from 0 to 23, 0 is 12:00 AM, and 23 is 11:00 PM. The default value is 0, which is 12:00 AM.
- To configure calendar synchronization to occur at a specific hour for all user accounts, type traittool -global -trait ExchangeSmartSyncTriggerHour -set <value>, where <value> is a number from 0 to 23, 0 is 12:00 AM, and 23 is 11:00 PM. The default value is 0, which is 12:00 AM.
- Press ENTER.
- Perform one of the following actions:
- To configure calendar synchronization to recur on specific days for all user accounts, type traittool -global -trait ExchangeSmartSyncSchedule -set <value>, where <value> is one or more of the following options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Weekdays, Weekends, or Daily. The default value is Daily.
- To configure calendar synchronization to recur on specific days for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait ExchangeSmartSyncSchedule -set <value>, where <value> is one or more of the following options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Weekdays, Weekends, or Daily. The default value is Daily.
- To configure calendar synchronization to recur on specific days for a user account, type traittool -user <smtp_address> -trait ExchangeSmartSyncSchedule -set <value>, where <value> is one or more of the following options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Weekdays, Weekends, or Daily. The default value is Daily.
- Press ENTER.
Example: Configuring corrective calendar synchronization to run at 10:00 PM for all users on the BlackBerry Enterprise Server Express that is named SERVER01
traittool -server SERVER01 -trait ExchangeSmartSyncTriggerHour -set 22
traittool -server SERVER02 -trait ExchangeSmartSyncTriggerHour -set 23
traittool -global -trait ExchangeSmartSyncSchedule -set Weekdays
traittool -user greg.stark@blackberry.com -trait ExchangeSmartSyncSchedule -set Monday,Wednesday,Friday
Logging information for corrective calendar synchronization
Corrective calendar synchronization writes the following information to the BlackBerry® Messaging Agent log file:
Delete a setting for corrective calendar synchronization
- Copy the BlackBerry® Enterprise Server Express installation files to a computer that hosts a BlackBerry Enterprise Server Express instance.
- Extract the contents to a folder on the computer.
- At the command prompt, navigate to the folder that the TraitTool.exe file is located in.
- Perform one of the following actions:
- To delete a setting for a specific user account, type traittool -user <smtp_address> -trait <name> -erase, where <name> is the setting you want to delete.
- To delete a setting for all user accounts that are associated with a BlackBerry Enterprise Server Express, type traittool -server <server_name> -trait <name> -erase, where <name> is the setting you want to delete.
- To delete a setting for all user accounts, type traittool –global -trait <name> -erase, where <name> is the setting you want to delete.
- Press ENTER.