|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
RE-POSTED FROM ANOTHER TOPIC We are seeing a similar error in our app periodically. The app generates a 3-4 page PDF that is mostly text, some colored headers and an small picture. Output file size is in the 100-150 KB range. I can provide an example privately if needed, they contain customer personal information. Here is one on the errors that is logged (see below). To remedy the issue, we have to log into the affected web server (Windows Server 2016) and either kill the worker process or stop/start the app pool. We notice when the issue has occurred that the Essentials Object Helper is still running in the task manager (usually two copies) and needs to be manually stopped. On the last occurrence, we simply stopped those two helper processes without killing the IIS worker or restarting the app pool. There is another error that occurs that takes down the app pool and requires a stop/start - can post that once it is logged again. We started seeing these errors in the past 2-3 weeks, not sure if they are version related. The EO packages were last updated in our app on 04/01/2019 as part of a maintenance upgrade (not related to PDF issues). Running: <package id="EO.Pdf" version="19.0.97" targetFramework="net462" /> Thanks! Pat ************************************************ Error Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Child process not ready. Details:
Code: C#
EO.Internal.js+f: Child process not ready.
at EO.Internal.js.a(Exception A_0, Boolean A_1)
at EO.Internal.js.a(p3 A_0)
at EO.Internal.js.a(Boolean& A_0, bam[] A_1, String A_2, String A_3)
at EO.Internal.js.a(bam[] A_0, String A_1, String A_2)
at EO.Internal.av9.b()
at EO.Internal.av9.a(WindowsIdentity A_0)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.sw.b()
at EO.Internal.nr.a(sw& A_0)
at EO.Internal.alx.a(az A_0, sw& A_1)
at EO.Internal.pb..ctor(az A_0, HtmlToPdfOptions A_1)
at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, String pdfFileName, HtmlToPdfOptions options)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Thanks for reposting. Please let us know when it occurs again and we will check the logs.
|
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
Session Name = SDSREG-AKA. I will post once we see the error logged in our DB, usually we get one or two every few days.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
Well, the issue has not repeated now that we are monitoring it. I am going to leave the debug monitor on until Monday of next week. If nothing by then, we will assume it was fixed in a later version of the eo.pdf package.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Thanks for the update. Please keep us posted.
|
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
We logged the following error on 04/27/2019 @ 07:19 AM ET. On the affected server, the following process is still running in the task manager: Essential Objects Worker Process (32 bit)
That application will no longer render PDFs until we kill that process above AND restart the app pool. Since it is a production server, I cannot leave it in that state.
================================================== The following application error was recently logged.
Message:
Exception of type 'System.Web.HttpUnhandledException' was thrown. Child process not ready.
Details:
EO.Internal.js+f: Child process not ready. at EO.Internal.js.a(Exception A_0, Boolean A_1) at EO.Internal.js.a(p4 A_0) at EO.Internal.js.a(Boolean& A_0, bam[] A_1, String A_2, String A_3) at EO.Internal.js.a(bam[] A_0, String A_1, String A_2) at EO.Internal.awa.b() at EO.Internal.awa.a(WindowsIdentity A_0) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.Internal.sx.b() at EO.Internal.ns.a(sx& A_0) at EO.Internal.alz.a(ay A_0, sx& A_1) at EO.Internal.pb..ctor(ay A_0, HtmlToPdfOptions A_1) at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, String pdfFileName, HtmlToPdfOptions options) at SDSREG.App_Code.UTIL.templateFunctions.saveHTML2PDF(Int32 showID, String fileName, String reportName, String outputLocation, String outputType, String HTMLData) in C:\DATA\SDS\Designs\SDSREG-AKA-AWS-MYSQL-SERVERLESS\App_Code\UTIL\templateFunctions.cs:line 198 at SDSREG.App_Code.UTIL.templateFunctions.convertRegistrantHTML2PDF(Int32 registrationID, String reportName, String outputLocation, String outputType, String HTMLData) in C:\DATA\SDS\Designs\SDSREG-AKA-AWS-MYSQL-SERVERLESS\App_Code\UTIL\templateFunctions.cs:line 232 at member_std_start.btnRegistrationDocuments_EmailConfirmation_Click(Object sender, EventArgs e) in C:\DATA\SDS\Designs\SDSREG-AKA-AWS-MYSQL-SERVERLESS\registration\STD\member-start.aspx.cs:line 2819 at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
We can not think of any reason that causes this. Next time when it happens again, please try to use our LogFetcher program to collect the logs and send it to us, we will then see what we can find.
Thanks!
|
|