on 03-25-2010 2:36 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.