1426232 - File not found error experienced after deploying application.

SAP Knowledge Base Article - Public

1426232 - File not found error experienced after deploying application.

Symptom

  • A Microsoft Visual Studio .NET 2008 application uses the Crystal Reports for Visual Studio .NET 2008 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 when attempting to load the report:
    "File not found" or "Load Report Failed".
  • Why does this error message appear and how can it be resolved?

Environment

  • Crystal Reports for Visual Studio 2008.
  • Windows Server 2003 (64-bit).

Cause

This error message appears because the application sets registry values that point to the C: drive, by default.

Resolution

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

CAUTION

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.

NOTE

It is strongly recommended that you make a backup copy of the registry files before you edit the registry.
For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
======================================================================================================================================
  1. On the 'Start' menu, click 'Run'.
  2. In the 'Run' dialog box, type "Regedit" and then click 'OK'.
  3. Navigate to the following key in the regsitry:
    • HKEY_LOCAL_MACHINE | SOFTWARE | Wow6432Node | Business Objects | 10.5 | Report Application Server | InProcServer | LocalConnectionMgr
  4. Right-click the 'ConnectionDirectoryPath' string value, and 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) and then click 'OK':
    • Program Files (x86)\Business Objects\Common\2.8\bin 
  6. Right-click the 'LocalConnectionMgr' subkey, click 'New' then click 'String Value'.
  7. Name this String Value "ReportDirectoryPath".
  8. Right-click the 'ReportDirectoryPath' string value and click 'Modify'.
  9. In the 'Value data' text box, type the same drive letter as you typed in 'ConnectionDirectoryPath'.   

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

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

See Also

More details are available in SAP support forums. The thread URL is:
http://forums.sdn.sap.com/thread.jspa?threadID=1515970&tstart=0

For similar error while using Visual Studio 2005 and embedded CR look for Note # 1205044 in References section.

Keywords

VS, bundled CR
, KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports 2008 V0