Synchronizing Calendar appointments with attachments causes a C++ Runtime Error

Article ID: KB02172

Type: Support Content

Last Modified: 12-15-2011


Product(s) Affected:

  • BlackBerry Desktop Software for Windows
  • BlackBerry® Desktop Software 4.5 and later
  • Microsoft® Outlook
  • IBM® Lotus Notes®
When you synchronize the BlackBerry® device with the IBM® Lotus® Notes® Calendar, you receive a C++ Runtime Error.
There are Calendar appointments with attachments or object linking and embedding (OLE) objects.
Identify entries with attachments or OLE objects:
  1. In Lotus Notes, click Create > View.
  2. Enter a name in the View name field.
  3. Choose Select by formula and type the SELECT @IsAvailable (CalendarDateTime) formula in the Select conditions field.
  4. Click the verification button (with the green check mark) to make sure the formula is valid.
  5. Click OK to create the View for analysis.

    Note: The View contains both Calendar and To Do entries.

  6. Scroll through the View and delete any Calendar appointments that have an Attachment icon.
Note: OLE objects appear as a link within the Calendar appointment.
Log files can be generated to identify which Calendar or To Do entry causes the synchronization to fail.
To configure advanced logging for the BlackBerry Desktop Software, complete the following steps:
  1. Go to C:\Documents and Settings\<user_name>\Application Data\Research In Motion\BlackBerry\Intellisync to open the iloptcfg.cfg file with Microsoft® NotePad.
  2. Change the MultiJobTraceLog value to 200 (the default is 0).
  3. Change the TifLog value to 100 (the default is 0).

    During the synchronization process, the above steps create two files named PTTrace.log and Tif.log in C:\Documents and Settings\<<username>>\Application Data\Research In Motion\BlackBerry\Intellisync

  4. Go to C:\Program Files\Research In Motion\BlackBerry\Connectors\Lotus Notes 5.0
    • Double-click ODSViewer.exe.
    • Synchronize the device with the Lotus Notes Calendar.
    • After the device has finished synchronizing, click ODSViewer.exe and click Dump. This creates a file named ODSDebug.log in C:\Temp.
Note: If you do not have the ODSViewer.exe, run the LN5Install.exe file located in C:\Program Files\Research In Motion\BlackBerry to install the ODSViewer.exe file.
After the synchronization, three log files are created: RIM.log, PTTrace.log and Tif.log.
  • The PTTrace.log and Tif.log files are located in C:\Documents and Settings\<user_name>\Application Data\Research In Motion\BlackBerry\Intellisync 
  • The RIM.log is located in C:\Program Files\Research In Motion\BlackBerry\<PIN>
  • The ODSDebug.log is located in C:\Temp


By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at 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