Earlier this week I installed the Crystal Reports 10 run time on a client’s Citrix server. After installing I tried to run our application and the run time kept on giving me an error saying “Load report failed”. Doing some research we found that the Crystal run time when installed assumes there is going to be a C drive. In this case we didn’t have one. The main system partition was W. The below knowledge base article describes what needs to be done to get the run time to work on a server that doesn’t have a C drive.
A Microsoft Visual Studio .NET application uses Crystal Reports 10 for 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”
Why does this error message appear and how can it be resolved?
It is common to not have a C drive on Terminal servers and Citrix servers.
This error message appears because the application sets registry values that point to the C drive. To resolve the error message, use the following steps to change these registry values in the Registry Editor.
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.
For information on how to edit the registry key, view the ‘Changing Keys And Values’ online Help topic in the Registry Editor (Regedit.exe).
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:
HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.0Report Application ServerInprocServerLocalConnectionMgr
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):
Program FilesCommon FilesCrystal Decisions2.5bin
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 step 5.
After making changes to the registry, restart the affected service or application as required.
Now, when the application is run, the error message will not appear.
I have an application running in Metaframe XP that is packaged with the Crystal 10 runtime to display canned as well as custom reports. We will be upgrading to a new Xenapp (Citrix Presentation 4.5) farm in which the servers are built without a C: partition. It is not a .NET app, but I’m wondering if I’ll encounter the same problem? I’ll have to test…
Oh thank goodness for this. I had three worsktations with an H: and companies would not for any reason format the workstation.
Thanks! a lot of! I was having this problem [installation on drive E:] and did solve it because of you. Thanks again for your help.
Pingback: visual4 blog » Blog Archive » Citrix & Crystal: Ein (Alp)Traumpaar
I was having the exact issue… n i got it solved after making those registry changes….
Thanks a ton..