Posted 19 December 2019, 3:26 am EST
In some Computer , run folowing code:
PdfExport _export = new PdfExport()
Happens Exception:
Forums Home / ActiveReports / ActiveReports v3-6
Posted by: novajiang1 on 19 December 2019, 3:26 am EST
Posted 19 December 2019, 3:26 am EST
In some Computer , run folowing code:
PdfExport _export = new PdfExport()
Happens Exception:
Posted 19 December 2019, 3:27 am EST - Updated 30 September 2022, 12:59 pm EST
Exception:System.InvalidCastException
Exception Message:無法將類型 ‘System.String’ 的物件轉換為類型 ‘System.String’。
StackTrace:
於 #RGn.#oMn.#YOn()
於 #RGn.#oMn…ctor(FontCollection fontCollection)
於 DataDynamics.ActiveReports.Export.Pdf.PdfExport.#RRn()
於 DataDynamics.ActiveReports.Export.Pdf.PdfExport…ctor(#Cpc factory)
於 sMES_Base.FileAccessProvider.ExportPDFtoFile(FileType type, String outputPath, String templateXML, DataSet data)
Please help us to identify reason and solution.
thanks.
Posted 20 December 2019, 1:58 am EST
Hello,
It seems that you are using AR6 on Win10 and AR6 is not compatible with Win10. Also, AR6 is a legacy product. It is out of development mode from a long time ago and we don’t support it.
I suggest you to upgrade to our latest version i.e AR14. For more information, you can refer the following link:
https://www.grapecity.com/activereports
https://www.grapecity.com/activereports/docs/v14/online/overview.html
Also, you can download the trial version of AR14 from the following link:
https://www.grapecity.com/download/activereports
Thanks,
Mohit