Rank: Newbie Groups: Member
Joined: 12/8/2016 Posts: 4
|
I am getting the following error when trying to render a view to PDF using EO.Pdf.Mvc. This works okay in my development environment but fails when I publish to my Azure-based website. I'm using version 17.0.95.0. This is in an ASP.NET MVC 5 application. I have an action on a controller decorated with the [RenderAsPdf] attribute.
EO.Internal.jo+-e: Child process exited unexpectedly. at EO.Internal.jo.a(Exception A+AF8-0, Boolean A+AF8-1) at EO.Internal.jo.a(p2 A+AF8-0) at EO.Internal.jo.a(Boolean+ACY- A+AF8-0, String+AFsAXQ- A+AF8-1, String A+AF8-2, String A+AF8-3, String A+AF8-4, String A+AF8-5) at EO.Internal.jo.a(String+AFsAXQ- A+AF8-0, String A+AF8-1, String A+AF8-2, String A+AF8-3, String A+AF8-4) at EO.Internal.aqh.a(String A+AF8-0, String A+AF8-1) at EO.Internal.apr.g() at EO.WebEngine.Engine.Start() at EO.Internal.sr.b() at EO.Internal.nq.a(sr+ACY- A+AF8-0) at EO.Internal.alw.a(av A+AF8-0, sr+ACY- A+AF8-1) at EO.Internal.pa..ctor(av A+AF8-0, HtmlToPdfOptions A+AF8-1) at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A+AF8-0) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A+AF8-0, Boolean A+AF8-1) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc) at EO.Pdf.Mvc.MVCToPDF.b.a()
|
Rank: Newbie Groups: Member
Joined: 12/8/2016 Posts: 4
|
I just read that you have to deploy to a VM. I'm guessing that's the problem since I'm running in an Azure App Service? https://www.essentialobjects.com/doc/4/install/deploy.aspx
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Yes. You will need to deploy to VM instead of "App Service" in order to use EO.Pdf.
Thanks!
|