Hello,
We have VS2008 application using crystal reports. This was deployed on windows server 2008 r2. This was working well and we don't have any issues.
We moved the application to windows server 2016. We are having issues with the crystal reports. I installed the crystal reports redistributable for VS2008 on this new server.
Whenever, i try to access the reports, i am getting the following error. How do i fix this issue?
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: 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.
Exception Details: 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.
Stack Trace:
[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() +241
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +197
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
CrystalDecisions.CrystalReports.Engine.ReportClass..ctor() +18
Transp_Mngr.rpt_DriversManifest..ctor() in C:\SVNRepo\Projects\MyProject\V0034_SVNRev487_20170721_ToFixDispatchAndManualDispatchPageSizeAndTimerIssues\Transp_Mngr\rpt_DriversManifest.vb:25
Transp_Mngr.frm_rpt_DriversManifest2..ctor() in C:\SVNRepo\Projects\MyProject\V0034_SVNRev487_20170721_ToFixDispatchAndManualDispatchPageSizeAndTimerIssues\Transp_Mngr\frm_rpt_DriversManifest2.aspx.vb:7
ASP.frm_rpt_driversmanifest2_aspx..ctor() +37
__ASP.FastObjectFactory_app_web_frm_rpt_driversmanifest2_aspx_cdcab7d2__pjcvowi.Create_ASP_frm_rpt_driversmanifest2_aspx() +47
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Thanks,
Ravi