Welcome Guest Search | Active Topics | Sign In | Register

met a error when I tried to ConvertHtmlToPdf Options
rabbit
Posted: Tuesday, March 31, 2020 12:26:32 AM
Rank: Newbie
Groups: Member

Joined: 3/30/2020
Posts: 1
Hi -

I am trying to convert an HTML file to a PDF file like the using HTML to PDF feature sample,
EO.Pdf.HtmlToPdf.ConvertUrl("c:\\test.html", "c:\\result.pdf");
but am having trouble getting started.

The full stack trace is
ハンドルされていない例外: System.InvalidOperationException: プロセス (12624) が終了したため、要求を処理できません。
場所 System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
場所 System.Diagnostics.Process.OpenProcessHandle(Int32 access)
場所 System.Diagnostics.Process.get_Handle()
場所 EO.Internal.jg.a(String[] A_0, String A_1, String A_2, String A_3, String A_4)
場所 EO.Internal.jg.i.b()
場所 EO.Internal.jg.i.d()
場所 EO.Internal.jg.k()
場所 EO.Internal.jg.a(String[] A_0, String A_1, String A_2, String A_3, String A_4)
場所 EO.Internal.ap9.a(String A_0, String A_1)
場所 EO.Internal.av9.e()
場所 EO.WebEngine.Engine.Start()
場所 EO.Internal.st.b()
場所 EO.Internal.nh.a(Int32 A_0, st& A_1)
場所 EO.Internal.alw.a(ge A_0, Int32 A_1, st& A_2)
場所 EO.Internal.o1..ctor(ge A_0, HtmlToPdfOptions A_1)
場所 EO.Pdf.HtmlToPdfSession.a(WindowsIdentity A_0, HtmlToPdfOptions A_1)
場所 EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0)
場所 EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
場所 EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName, HtmlToPdfOptions options)
場所 EO.Pdf.HtmlToPdf.ConvertUrl(String url, String pdfFileName)

Any help would be gratefully received.
Thanks!
eo_support
Posted: Tuesday, March 31, 2020 7:10:03 PM
Rank: Administration
Groups: Administration

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

Please follow the steps on this page and see if it resolves the issue for you:

https://www.essentialobjects.com/doc/common/child_process_error.aspx

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.