Quantcast
Viewing all articles
Browse latest Browse all 3636

Exception while exporting the CrystalReport to PDF/Excel/Word

My .NET application works fine when I use the CrystalReportViewer to view the generated reports and later export to pdf/excel/word.
However it throws me this runtime exception when I try to export the report programmatically to one of the formats as mentioned above.

 

The code basically tries to export the crystal report to a certain format

 

For ex:

rptLayout.SetDataSource(dataset);

rptLayout.ExportToDisk(ExportFormatType.PortableDocFormat, "C:\\TEST.pdf");

 

 

 

Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'.

 

A little bit of search on the web yielded me no proper response except to install latest CR Runtime.

 

My dev pc configuration

 

  • IDE is Visual Studio 2010
  • Programming language as C# .NET 4.0
  • Version of SAP Crystal Reports for Visual Studio : 13.0.14.1720

 

Can anyone at SAP let me know what could be the possible reason for this issue

 

This issue needs to be fixed on priority in our application

 

Thanks

Srivatsa


Viewing all articles
Browse latest Browse all 3636

Trending Articles