Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf.HtmlToPdfException: Conversion failed. Child process not ready Options
Nirmal
Posted: Thursday, August 20, 2020 12:41:15 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
Hello EO PDF support team,

I'm currently having issue when we generating pdf. We have tried multiple ways but could't resolve this issue. Can you please help in this scenario what will resolve this issue.
EO.Pdf.HtmlToPdfException: Conversion failed. Child process not ready. nWaitResult = 258 ---> System.Exception: Child process not ready. nWaitResult = 258
at EO.Internal.jm.a(String A_0, Boolean A_1)
at EO.Internal.jm.a(IntPtr A_0)
at EO.Internal.jm.g.a(IntPtr A_0)
at EO.Internal.jm.g.b()
at EO.Internal.jm.g.d()
at EO.Internal.jm.j()
at EO.Internal.jm.a(String[] A_0, String A_1, String A_2, String A_3, String A_4)
at EO.Internal.g2.a(String A_0, String A_1)
at EO.Internal.aix.e()
at EO.Internal.aix..ctor()
at EO.Internal.aix.a(aix A_0, List`1 A_1)
at EO.Internal.aix.a(abb A_0, Boolean A_1, a4m A_2)
at EO.Internal.aix.a(abb A_0, a4m A_1)
--- End of inner exception stack trace ---
at EO.Internal.aix.a(abb A_0, a4m A_1)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)

On another machine we are having different issue related to web view

EO.Pdf.HtmlToPdfException: Conversion failed. This WebView either has already been destroyed or is being destroyed. EO.lnternal.aazi: This WebView either has already been destroyed or is being destroyed. System.Exception: This WebView either has already been destroyed or is being destroyed. End of inner exception stack trace at EO.Web8rowser.WebView.dvcv(Exception ld, Boolean le) at EO.WebBrowser.WebView.duzd() at EO.Web8rowser.WebView.dvdd(WaitableTask In, Boolean 10) at EO.Web8rowser.WaitableTask.hxoi(WebView aaj, Boolean aak) at EO.Web8rowser.WebView.dvak(swcc go, Action-I gp, Boolean gq, Boolean gr, String gs) at EO.Web8rowser.WebView.EvalScript(String code, String frameName, Boolean throwOnError) at EO.Web8rowser.WebView.EvalScript(String code, Boolean throwOnError) at EO.lnternal.srem.scxu(sqzc btk, String btl, String btm, String btn, Int32 bto, Int32 btp, String btq, Boolean btr) at EO.lnternal.srem.eedt(sqzc btc, String btd, String bte, String btf, Int32 btg, Int32 bth, String bti, Boolean btj) at EO.Pdf.HtmlToPdfSession.eedt(sqzc yr, String ys, String yt, Int32 yu, Int32 yv, String yw, Boolean yx) at EO.Pdf.HtmlToPdfSession.eedt(sqzc yy, String yz, String za, Boolean zb) at EO.Pdf.HtmlToPdfSession.LoadHtml(String html) at EO.Pdf. HtmlToPdf.pvwp.xduv() at bsj) End of inner exception stack trace at bsj) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at Medgate.NMedgate. Web. Controllers.BaseRichTextEditorController'3.RenderPDFContent(Letter record, ResourceRecordService resRecService, Language language, PdfDocument pdfDocument) at Medgate.NMedgate. Web.Controllers.BaseRichTextEditorControlleff3.CreatePDFLetterOutput(Letter record, Boolean isEmployee, Boolean forBulkReports) at Medgate.NM


Can you please help us in resolving this issues that would be much appreciated.

eo_support
Posted: Thursday, August 20, 2020 1:20:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Hi,

What version are you using?

Thanks!
Nirmal
Posted: Thursday, August 20, 2020 1:23:36 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
We are using EO.Total 2015
runtime version v2.0.50727
version 15.2.88.0
eo_support
Posted: Thursday, August 20, 2020 1:28:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Hi,

That is a rather old version that we no longer support. So please try the latest version and see if it resolves the issue for you. We have resolved numerous issues during the years. So your issues might have already been addressed in the current build.

If you continue to have problems with the current build, please post an updated stack trace and we will look further.

Thanks!
Nirmal
Posted: Thursday, August 20, 2020 1:30:17 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
For the second error, its the new version. We are trying. Thanks for quick reply.
eo_support
Posted: Thursday, August 20, 2020 1:33:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
And still what's the version number?
Nirmal
Posted: Thursday, August 20, 2020 1:41:26 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
Description : EO.Total 2020
Runtime Version - v2.0.50727

Version - 20.1.45.0
eo_support
Posted: Thursday, August 20, 2020 2:19:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Hi,

Please make sure you are on the latest build 20.2.34.0. Make sure you double check the DLL version number. The stack trace you posted does not seem to match version 20.1.45.0 either.

Thanks!
Nirmal
Posted: Thursday, August 20, 2020 3:41:37 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
I downloaded EO.Total.2020.2.19.0.msi file when I started upgrading. And then use EO.Web, EO.Pdf, EO.Wpf and EO.WebBrowser from that. Do I need to upgrade again?
eo_support
Posted: Friday, August 21, 2020 9:00:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Yes. It's always a good idea to use the latest build while actively troubleshooting an issue because if we need to make any changes in code to fix the issue, the fix would be based on the latest build.
Nirmal
Posted: Friday, August 21, 2020 10:55:13 AM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
Hello,
I just want inform that We are getting error in AWS server , on local machine it is working fine. Have your team used AWS to test it. Before using latest build again I just want inform you regarding this. On AWS we are getting below error.

EO.Pdf.HtmlToPdfException: Conversion failed. This WebView either has already been destroyed or is being destroyed. EO.lnternal.aazi: This WebView either has already been destroyed or is being destroyed. System.Exception: This WebView either has already been destroyed or is being destroyed. End of inner exception stack trace at EO.Web8rowser.WebView.dvcv(Exception ld, Boolean le) at EO.WebBrowser.WebView.duzd() at EO.Web8rowser.WebView.dvdd(WaitableTask In, Boolean 10) at EO.Web8rowser.WaitableTask.hxoi(WebView aaj, Boolean aak) at EO.Web8rowser.WebView.dvak(swcc go, Action-I gp, Boolean gq, Boolean gr, String gs) at EO.Web8rowser.WebView.EvalScript(String code, String frameName, Boolean throwOnError) at EO.Web8rowser.WebView.EvalScript(String code, Boolean throwOnError) at EO.lnternal.srem.scxu(sqzc btk, String btl, String btm, String btn, Int32 bto, Int32 btp, String btq, Boolean btr) at EO.lnternal.srem.eedt(sqzc btc, String btd, String bte, String btf, Int32 btg, Int32 bth, String bti, Boolean btj) at EO.Pdf.HtmlToPdfSession.eedt(sqzc yr, String ys, String yt, Int32 yu, Int32 yv, String yw, Boolean yx) at EO.Pdf.HtmlToPdfSession.eedt(sqzc yy, String yz, String za, Boolean zb) at EO.Pdf.HtmlToPdfSession.LoadHtml(String html) at EO.Pdf. HtmlToPdf.pvwp.xduv() at bsj) End of inner exception stack trace at bsj) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at Medgate.NMedgate. Web. Controllers.BaseRichTextEditorController'3.RenderPDFContent(Letter record, ResourceRecordService resRecService, Language language, PdfDocument pdfDocument) at Medgate.NMedgate. Web.Controllers.BaseRichTextEditorControlleff3.CreatePDFLetterOutput(Letter record, Boolean isEmployee, Boolean forBulkReports) at Medgate.NM
eo_support
Posted: Friday, August 21, 2020 11:24:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Yes. Our own servers runs on AWS.

In the future when you post stack trace, please:

1. Make sure you are on the latest build;
2. Do not repost the same stack trace;

You can't just ignore what we tell you and keep posting the same message and expect to get a different answer.

Thanks!
Nirmal
Posted: Thursday, September 10, 2020 2:16:25 PM
Rank: Newbie
Groups: Member

Joined: 8/19/2020
Posts: 8
Hello Support,

I have updated dlls with latest and now having issue as below. Also I've added

Message: Child process exited unexpectedly.
Stack trace:
at EO.Internal.dnzq.rejv(Exception mdk, Boolean mdl)
at EO.Internal.dnzq.reju(dnvs mdh)
at EO.Internal.dnzq.rejf(Boolean& mce, dnzt[] mcf, String mcg, String mch)
at EO.Internal.dnzq.xeua(dnzt[] mcb, String mcc, String mcd)
at EO.Internal.dnzr.xeua(String mgz, String mha)
at EO.Internal.vhsa.cxgt()
at EO.Internal.vhsa.bdst.dyde()
at EO.Internal.dnvk.iise(Action klo)
at EO.Internal.vhsa.dcgk(WindowsIdentity fz)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.WebEngine.Engine.Start()
at EO.Internal.ioar.ienc()
at EO.Internal.ioas.ienc(ioar& bsa)
at EO.Internal.ioat.ienc(vhrv bse, ioar& bsf)
at EO.Internal.ioaw.isuv()
at EO.Internal.ioaw..ctor(vhrv bsj, HtmlToPdfOptions bsk)
at EO.Pdf.HtmlToPdfSession.tcqd(HtmlToPdfOptions yn)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions yl, HtmlToPdfSession ym)
at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.mbpg.gydk()
at EO.Internal.ioat.fqfx[a](dnum`1 bsi)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc)
eo_support
Posted: Friday, September 11, 2020 10:55:50 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,429
Hi,

Please see your private message for further test instructions.

Thanks!


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.