cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 2008 runtime error while running on Windows Server X64

Former Member
0 Kudos

I have a .NET web application compiled as X86 in Visual Studio 2008 invoking Crystal Reports 2008 SP2 that's running fine at a number of sites running Windows Server 2003 X86.</br>

</br>

When deploying this app to Windows Server 2008 X64 I get the error message below. </br>

</br>

I'm aware that there is an unanswered question similar to this already in the forum but my application is compiled for X86 and I've tryed installing a variety of run times including "crruntime_12_2_mlb.msi" and "crredist2008_x86.msi".</br>

</br>

What combination of compile and run time is needed to get around this issue?</br>

</br>

Thanks.</br>

</br>

</br>

    • ERROR MESSAGE **.</br>

</br>

An error has occurred while attempting to load the Crystal Reports run time..</br>

</br>

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

</br>

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. .</br>

</br>

Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>

</br>

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

</br>

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

</br>

Source Error: .</br>

</br>

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. .</br>

</br>

Stack Trace: .</br>

</br>

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

</br>

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

</br>

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

CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +399.</br>

CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +218.</br>

</br>

[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.].</br>

CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0.</br>

ChartsEnterprise.UI.GenReport.CreateReport(String reportname) +42.</br>

System.EventHandler.Invoke(Object sender, EventArgs e) +0.</br>

System.Web.UI.Control.OnLoad(EventArgs e) +132.</br>

System.Web.UI.Control.LoadRecursive() +66.</br>

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean .</br>includeStagesAfterAsyncPoint) +2428.</br>

Edited by: PSernz on Mar 25, 2010 3:58 AM

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

You also need to check to make sure that IIS is setup to run in 32 bit mode. Just setting the web application within Visual Studio is not enough for it to run as a 32 bit application. Since you are using Windows Server 2008, you should have IIS7 and can set this as part of the advanced settings on the Application Pool that your application is running under.

Answers (2)

Answers (2)

Former Member
0 Kudos

In asp.net 2010 i developed web application with crystal report. its working fine on local machine but not on server. i installed

CRRuntime_64bit_13_0_1.msi on server still it raising this error.Need proper solution

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

former_member183750
Active Contributor
0 Kudos

This thread:

Crystal Reports 2008 runtime error while running on Windows Server X64

Your version of CR:

CRVS2010

As a general rule, it's probably better to not attach your self to an answered thread, particularly if it is a different version of CR.

Please create a new thread.

- Ludek

former_member183750
Active Contributor
0 Kudos

What combination of compile and run time is needed to get around this issue?

See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki. I think I may not have that wiki updated up to FP2.5, so the FP2.5 msm is here:

https://smpdl.sap-ag.de/~sapidp/012002523100002975182010E/cr2008fp25_mm.zip

msi is here:

https://smpdl.sap-ag.de/~sapidp/012002523100002975312010E/cr2008fp25_redist.zip

Check the version of the CR assemblies referenced in your project. The use the wiki above to deploy the correct runtime.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup