Skip to Content
0
Former Member
Jul 14, 2008 at 06:01 PM

ASP.NET 2005 & Crystal Report

76 Views

Hi,

I am using Crystal Report tools embedded in VS. On my laptop which has all the development tools installed, I can run my website & display my crystal report without a problem.

I try to set up a test server PC. I installed Windows XP SP2 with IIS.

I copied my website directories.

Everything is working fine except that an error is raised when I try to run the Crystal report.

I get the following error:

Erreur du serveur dans l'application '/Demo'. 
-------------------------------------------------------------------------------- 

An error has occurred while attempting to load the Crystal Reports runtime. 

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. 

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information. 
Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code. 

Détails de l'exception: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. 

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. 

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information. 

Erreur source: 

Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous. 

Trace de la pile: 


[LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. 

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. 

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.] 
   CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +239 
   CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +152 

[TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'CrystalDecisions.CrystalReports.Engine.ReportDocument'.] 
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Finalize() +0

There is obviously some files missing on that test PC.

If I put my website pages on a hosting PC, I might not be able to run install program (Crystal Runtime). So I need to make the Crystal report work only by having DLLs in my Bin, not by having to execute .EXE or MSI install file of any kind.

I have these in my BIN folder. But seemingly it is not enough to build a PDF file.

CrystalDecisions.CrystalReports.Engine 
CrystalDecisions.Shared

Anyone can tell me how to create PDF without having to run an install program? I can only put DLLs in a directory on the Web Hosting server.

Thank you.