[Solved] Crystal Report Error: Method not found: ISCRExportOptions.get_ExportOptionsEx()

laneesh
 
on Jan 24, 2021 10:35 PM
2263 Views

While try to download crystal report in pdf format in asp.net it shows the error "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'."

but the same code is working on other projects please help!.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Jan 24, 2021 11:05 PM

Hi laneesh,

This isn't coding issue, it's a runtime issue. The version of the crystal runtime or the bitness of your application.

Ensure you're running the same version.

See https://apps.support.sap.com/sap/support/knowledge/public/en/2148492 for more details.

Compile your application either to 'X86 mode' or 'X64 mode' Install the particular versions of runtimes on machine.

i.e. If the application is compiled as 32 bit, then install the 32bit runtimes.

Reference: https://stackoverflow.com/questions/41422468/crystal-report-method-not-found