Hi Team,
Problem : we are getting below exception on vs-2012 "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'"
Could you please help me why we are getting this Error?
Note : Im not using Exportstream method , just using only Export method (refer code sample) for exporting Crystal report.
EnvironMent Details :
Crystal Report Version : CRforVS_13_0_5.exe
(SAP Crystal Reports runtime engine for >net Framework (64-bit)
SAP crystal Reports ,version for Microsoft Visual studio)
OS -Windows 7 -64 BIT
RAM : 16 GB
code where i Got the Exception
dfdoFile.DiskFileName = Path.Combine(reportPath, reportFileName);
expOptions.ExportDestinationType = ExportDestinationType.DiskFile;
expOptions.ExportFormatType = ExportFormatType.CrystalReport;
expOptions.DestinationOptions = dfdoFile;
objReport.Export(expOptions);
below is stack trace :
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
at Medtech.BaseObjects.Report.CreatePDF(ReportClass objReport, DataView objRptDataView, String printerName, PrinterPaperOrientation
i have attached Screenshot for your reference ,