Rank: Member Groups: Member
Joined: 8/12/2011 Posts: 16
|
Hi,
We have a long existing product that uses EO.PDF (specifially HTML to PDF conversion) and has for many years. Many of our customers have started having issues since they upgraded to Windows 11, where PDFs can no longer be generated from the same HTML as was used before. We were on an old version (2019), but recently bought a new license and updated to 2024, hoping that it was a known Windows 11 issue, however it hasn't helped.
The exception callstack is:
EO.Pdf exception: Child process exited unexpectedly. vid EO.Internal.js.a(Exception A_0, Boolean A_1) vid EO.Internal.js.a(p4 A_0) vid EO.Internal.js.a(Boolean& A_0, bak[] A_1, String A_2, String A_3) vid EO.Internal.js.a(bak[] A_0, String A_1, String A_2) vid EO.Internal.aqb.a(String A_0, String A_1) vid EO.Internal.av7.b() vid EO.Internal.av7.a(WindowsIdentity A_0) vid EO.WebEngine.Engine.Start(WindowsIdentity user) vid EO.Internal.sy.b() vid EO.Internal.nr.a(sy& A_0) vid EO.Internal.alv.a(ay A_0, sy& A_1) vid EO.Internal.pc..ctor(ay A_0, HtmlToPdfOptions A_1) vid EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0) vid EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1) vid EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) vid EO.Pdf.HtmlToPdf.ConvertHtml(String html, String pdfFileName, HtmlToPdfOptions options)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,182
|
Hi, Can you capture the runtime log and send us the log when the error occurs? The code will be something like this:
Code: C#
try
{
//The call that fails
HtmlToPdf.ConvertHtml(....);
}
catch
{
//Get runtime log
string log = EO.Base.Runtime.GetLogs();
//Save to the log file
File.WriteAllText("log.txt", log);
//Rethrow the exception
throw;
}
Once you have the log file, please send it to us through context us page: https://www.essentialobjects.com/contactWe will then look into it and see what we can find. Thanks!
|