Symptoms

When you try to open a report using the Command-Line Builder or by running a Report Commander command from the command line, Report Commander issues one of the following errors:

Cannot open report file: Load report failed

or

Cannot open report file: Load report failed: Buffer too small for string or missing null byte

Cause

This error is caused by a problem in the Crystal Reports runtime components used by Report Commander. This problem is discussed in SAP Note 1481430.

Resolution

This problem was resolved in Crystal Reports 2008 SP3. To obtain this service pack:

  • If Crystal Reports 2008 is installed on the computer where you are running Report Commander, download Crystal Reports 2008 SP3 using this link.After downloading, run the file to update your Crystal Reports installation and the runtime files used by Report Commander.
  • If Crystal Reports 2008 is not installed on the computer where you are running Report Commander, download the Crystal Reports 2008 SP3 redistributable package using this link instead. After downloading, unzip the files and run the "CRRuntime_12_3_mlb.exe" program to install the update.