SAP Knowledge Base Article - Public

1217988 - Err Msg: "Load Report Failed" when running a .NET Windows application (Citrix / Terminal Server)

Symptom

  • Microsoft Visual Studio .NET application uses Crystal Reports Visual Studio .NET SDK as the reporting development tool.
  • When the application is deployed to a computer that does not have a C drive, the following error message appears:

"Load Report Failed"

Environment

  • Crystal Reports 2008
  • SAP Crystal Reports, developer version for Microsoft Visual Studio 2010 / 2012

Cause

  • It is common to not have a C drive on Terminal Servers and Citrix Servers.

Resolution

  • To resolve the error message, use the following steps to change these registry values in the Registry Editor.

====================

WARNING:

The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk.

HELP:

For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).

RECOMMENDATION:

It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.

====================

1. On the 'Start' menu, click 'Run'.

2. In the 'Run' dialog box, type "Regedit" then click 'OK'.

3. In the Registry Editor browse to the following subkey:

Crystal Reports 2008

HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\

SAP Crystal Reports, developer version for Microsoft Visual Studio

HKEY_LOCAL_MACHINE\SOFTWARE \SAP BusinesObjects\Crystal Reports for .NET Framework 4.0\

4. Right-click the 'ConnectionDirectoryPath' string value, then click 'Modify'

5. In the 'Value data' text box, change "c:\" to the drive letter where the following directory exists (You may need to search your computer to find where this directory exists):

Crystal Reports 2008

Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86

SAP Crystal Reports, developer version for Microsoft Visual Studio

Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86

6. Click OK.

7. Right-click the 'LocalConnectionMgr' subkey, click 'New' then click 'String Value'.

8. Name this String Value "ReportDirectoryPath".

9. Right-click the 'ReportDirectoryPath' string value and click 'Modify'.

10. In the 'Value data' text box, type the same drive letter as you typed in step 5.

11. After making changes to the registry, restart the affected service or application as required.

Keywords

crvs cr4vs cr vs c2016508 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 10.0 ; SAP Crystal Reports, developer version for Microsoft Visual Studio