Rank: Newbie Groups: Member
Joined: 11/13/2023 Posts: 3
|
I am using EO.Pdf version 23.2.14 and facing issue while converting html to pdf using HtmlToPdf.ConvertHtml method. The issue happens on few of the HTML's which are being converted. These HTMLS are good and clean, they don't have any issue. Below is the stackTrace : at EO.Pdf.HtmlToPdfException.pnid(Exception abf) at EO.Internal.mkem.xvco(mken wn) at EO.Internal.mkem.xvco() at EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc) at EO.Pdf.HtmlToPdf.etnk.lbvj() at EO.Internal.mkjp.gtyn[a](dhft`1 bro) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc)
InnerException : Index was outside the bounds of the array. at EO.Internal.mkem.xvct(mkif wz, List`1 xa, Single xb, Single xc, Single xd, Double xe, Double xf, Boolean xg, Single& xh) at EO.Internal.mkem.xvcs(mken wx, Single& wy) at EO.Internal.mkem.xvco(mken wn)
Source: EO.pdf
Message : Conversion failed.
Can you please suggest what's the issue.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, Can you try the latest build and see if it resolves the issue? If the problem still occurs with the latest build, please either provide the Url/HTML that you are trying to convert, or try to isolate the problem into a test project and send the test project to us. See here for more details: https://www.essentialobjects.com/forum/test_project.aspxOnce we receive the test project/files, we will debug into it here and see what we can find. Thanks!
|