As on 64 bit OS , .net framwork 2.0 is 64bit(default)
While running(IIS 6.0)web application crystal reports are not working.
Find the error msg as below,
Server Error in '/Purchase' Application.
--------------------------------------------------------------------------------
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.
Source Error:
Line 15: Dim comm As New PurchaseComman
Line 16:
Line 17: Public orpt As New ReportDocument
Line 18: Dim prms As New ParameterFields
Line 19:
Source File: E:\BeaconProject\Purchase\Pages\Transactions\POGeneral.aspx.vb Line: 17
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() +411
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +217
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
Pages_Transactions_POGeneral..ctor() in E:\BeaconProject\Purchase\Pages\Transactions\POGeneral.aspx.vb:17
ASP.pages_transactions_pogeneral_aspx..ctor() in E:\BeaconProject\Purchase\Pages\Transactions\POGeneral.aspx.vb:912304
__ASP.FastObjectFactory_app_web_pogeneral_aspx_e0d2385a_m1i_zqfz.Create_ASP_pages_transactions_pogeneral_aspx() +65
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +147
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +63
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +574
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +183
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +277
To solve this error,pls help me.
This works fine when .net framwork is 32 bit.
Thanks in advance.
Regards,
Deepali LOkhande