Hi ,
We are encountering below error while loading Crystal reports deployed on IIS 7.5 for an asp.net mvc project
Here is what we have done so far
1. Downloaded Support Pack 14 (v.13.0.14.1720) Install executable from http://scn.sap.com/docs/DOC-7824
2. Installed it on the development machine where Visual studio 2012 is available
3. We have used web pages (.aspx) to load the crystal reports
4. From VS 2012 it works fine; In localhost.
5. Downloaded crystal report runtime 64 bit (64bit.msi) from http://scn.sap.com/docs/DOC-7824 and deployed in web server
6. Access the report page. Getting below error
7. Note : Both our application and IIS is configured for 64 bit
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception. ---> CrystalDecisions.Shared.CrystalReportsException: Could not load C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\crpe32.dll. at CrystalDecisions.CrystalReports.Engine.CRPE..cctor() --- End of inner exception stack trace --- at CrystalDecisions.CrystalReports.Engine.CRPE.CloseCrpe() at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalClose(Boolean bSetupForNextReport) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Close() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at Avery.Magma.Web.WebForms.CrystalReport.Page_Init(Object sender, EventArgs e)
Thank you