Rank: Advanced Member Groups: Member
Joined: 10/7/2015 Posts: 35
|
Hi, We're on the last 2016 release (16.2.93) and get this error intermittently converting HTML to PDF. A lot for some users. I wouldn't normally write to you about it, as the error explains it well...
But the problem is, we didn't write any EvalScript() code to execute. As far as I can tell, this is an internal error - based on an internal decision to execute EvalScript that has nothing to do with us?
Could this be right? Is there any known issues of this happening without us writing any EvalScript statements
EO.WebBrowser.JSInvokeException: EvalScript failed because It is not safe to run JavaScript code at this moment. This can occur if you are inside event handlers of certain WebView events. In that case please check CanEvalScript property before calling EvalScript. at EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2) at EO.WebBrowser.WebView.a(ls A_0, Action`1 A_1, Boolean A_2, Boolean A_3, String A_4) at EO.WebBrowser.WebView.EvalScript(String code, Boolean throwOnError) at EO.Internal.o9.a(ad0 A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7) at EO.Pdf.HtmlToPdfSession.a(ad0 A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This appears to be an issue that has already been fixed in the current build. Please download it from our download page and see if you still get this error.
Thanks!
|