Quantcast
Channel: Report Commander Knowledge Base
Viewing all articles
Browse latest Browse all 84

K00000279: "Load report failed" error when running Report Commander with a report that uses a user function library

$
0
0

Symptoms

Report commander gives error "Cannot open report file: Load report failed" when you try to open a report that uses functions in a user function library (UFL). This error may occur when you try to open the report using the Report Commander Command Line Builder, or when you run Report Commander in command-line mode to export or print the report.

You may also see a message similar to the following:

An error occurred while checking for report data. Processing will continue, but empty output may be produced. (UFL 'uXXXXX.dll' that implements this function is missing.: UFL 'uXXXXX.dl)

Note: The "Load report failed" message is a generic error message from Crystal Reports and may occur due to other causes. This article applies only if the report uses user function libraries. For other possible causes of this message see article K00000339.

Resolution

Crystal Reports allows reports to call functions defined in user function libraries supplied by a third party. When you use the report, the user function DLL (named in the error message--"uXXXXXX.dll" in the example above) and any files it depends on must be present on the computer. If you are running Report Commander on a different computer than you developed the report on, these files may not be present.

To resolve this problem, you must determine which user function libraries your report depends on, and install or copy the necessary software on the computer where Report Commander is being run.

If the library is already present on the computer where Report Commander is running, you may need to copy the UFL DLL (named in the error message) into the folder used by the Crystal Reports runtime:

  • For Report Commander 1.5: "C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86"
  • For Report Commander 2 and later, 32-bit version: "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86"
  • For Report Commander 2 and later, 64-bit version: "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x64"

Viewing all articles
Browse latest Browse all 84

Trending Articles