Welcome Guest Search | Active Topics | Sign In | Register

2023 self-contained deployment Options
Kirill Shemanayev
Posted: Wednesday, February 1, 2023 5:02:24 PM
Rank: Newbie
Groups: Member

Joined: 7/10/2019
Posts: 7
We recently upgraded EO.PDF from 2022 to 2023. Rendering on development machine works just fine. However rendering from self-contained deployment to Windows Server Core crashes with error "Child process exited unexpectedly". We are running .NET 6 and similarly built 2022 self-contained deployment works. The stack trace is below.

at EO.Internal.cooa.smyg(Exception nmy, Boolean nmz)
at EO.Internal.cooa.smyf(cojz nmv)
at EO.Internal.cooa.smxt(Boolean& nlt, Type[] nlu, String nlv, String nlw)
at EO.Internal.cooa.kena(Type[] nlq, String nlr, String nls)
at EO.Internal.coob.kena(String nrl, String nrm)
at EO.Internal.xydt.tibx()
at EO.Internal.xydt.ycum.tsgu()
at EO.Internal.cojp.tnuo(Action lui)
at EO.Internal.xydt.xrhc(WindowsIdentity fw)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.WebEngine.Engine.Start()
at EO.Internal.epdi.dsaf()
at EO.Internal.epdj.dsaf(epdi& bqu)
at EO.Internal.epdk.dsaf(xydo bqy, epdi& bqz)
at EO.Internal.epdn.rqnn()
at EO.Internal.epdn..ctor(xydo brd, HtmlToPdfOptions bre)
at EO.Pdf.HtmlToPdfSession.iork(HtmlToPdfOptions yk)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions yh, HtmlToPdfSession yi, ResourceHandler yj)
at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler)
eo_support
Posted: Thursday, February 2, 2023 11:56:39 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

Can you capture the runtime log like this and send it to us?

Code: C#
try
{
    HtmlToPdf.ConvertUrl(...);
}
catch
{
    string log = EO.Base.Runtime.GetLogs();
    //save log to a file and then send it to us
}


See here for more information on sending files to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
eo_support
Posted: Monday, February 6, 2023 9:34:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

Please check to see if build 23.1.4 works for you.

Thanks!
Kirill Shemanayev
Posted: Monday, February 6, 2023 2:21:47 PM
Rank: Newbie
Groups: Member

Joined: 7/10/2019
Posts: 7
23.1.4 resolved the issue. Thank you!
eo_support
Posted: Monday, February 6, 2023 2:57:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great. Thanks for confirming!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.