Question:
Problem
When attempting to run the GWSystemAddressBookSync.exe process, some errors occur. In the ADLSYNC log file, the following errors are reported:
Exception reading base attributes=;System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.GetDayOfNNY(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
at System.DateTimeParse.ProcessTerminaltState(Int32 dps, DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)
at GWSystemAddressBookSync.SystemAddressBookSync.ConvertGWStrToDate(String sDate)
at GWSystemAddressBookSync.GWUser.DoWork()
Answer:
Cause
On the computer hosting the BlackBerry Enterprise Server, the date is a string value.
Resolution
On the computer hosting the BlackBerry Enterprise Server, perform the following:
1. Go to the Control Panel.
2. Open Regional and Language Options.
3. Select the Regional Options tab and click Customize.
4. Select the Date tab.
5. Select a numeric format for the Short date format field. The default value of m/d/yyyy is acceptable.
6. Click OK.
7. Click Apply then OK.
8. Run the GWSystemAddressBookSync.exe process again.