Rank: Newbie Groups: Member
Joined: 2/27/2018 Posts: 4
|
Hi, After Windows 10 upgraded to latest version, EO.Pdf (2015) stopped working. Using ASP.Net to create a html file and then call HtmlToPdf.ConvertUrl I have downloaded the latest 2019 release and replaced .dlls - had to add WebBrowser and WebEngine .dll's First I had Failed to Load URL errors - after reboot I now get
[Exception: This WebView either has already been destroyed or is being destroyed.] EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2) +680 EO.WebBrowser.WebView.p() +221 EO.WebBrowser.WebView.a(Request A_0, Boolean A_1) +24 EO.Internal.ob.a(String A_0, String A_1, String A_2, Byte[] A_3, String A_4) +2001 EO.Internal.ob.a(ab1 A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7) +1312 EO.Internal.ob.b(ab1 A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7) +380 EO.Pdf.HtmlToPdfSession.a(ab1 A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6) +181 EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options) +152 EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName, HtmlToPdfOptions options) +16 EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName) +12
Code has not changed, site has not changed What could be causing this error? Do we need to change the code we use?
Currently use (VB.net):
<generate html file here>
HtmlToPdf.Options.PageSize = new SizeF(EO.Pdf.PdfPageSizes.A4.Width, EO.Pdf.PdfPageSizes.A4.Height) HtmlToPdf.Options.OutputArea = New RectangleF(0.1F, 0.6F ,8.2F, 10.6F)
HtmlToPdf.Options.StartPosition = 0 HtmlToPdf.Options.NoCache = True HtmlToPdf.Options.AutoFitX = HtmlToPdfAutoFitMode.None HtmlToPdf.Options.AutoFitY = HtmlToPdfAutoFitMode.None HtmlToPdf.Options.AutoAdjustForDPI = False
HtmlToPdf.ConvertUrl(wHTMLPath, wPDFPath)
Robert
|
Rank: Newbie Groups: Member
Joined: 2/27/2018 Posts: 4
|
Created a test script to try and eliminate any of the HTmltoPdf options we were using
Once I removed
HtmlToPdf.Options.NoCache = True
then the latest 2019 EO.pdf version worked OK.
Robert
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Thanks for the info. We have confirmed this to be a bug. This issue will be resolved in our next build.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|