Rank: Newbie Groups: Member
Joined: 3/9/2015 Posts: 7
|
Is it possible to run EO.PDF on Azure using a WebJob? We are getting a run time error when that happens. We are running Version 16.2.72.0
Exception Message: Child process exited unexpectedly. Stack: at EO.Internal.jm.a(Exception A_0, Boolean A_1) at EO.Internal.jm.a(p4 A_0) at EO.Internal.jm.a(Boolean& A_0, String[] A_1, String A_2, String A_3, String A_4, String A_5) at EO.Internal.jm.a(String[] A_0, String A_1, String A_2, String A_3, String A_4) at EO.Internal.aqj.a(String A_0, String A_1) at EO.Internal.awn.e() at EO.WebEngine.Engine.Start() at EO.Internal.sx.b() at EO.Internal.np.a(Int32 A_0, sx& A_1) at EO.Internal.al7.a(av A_0, Int32 A_1, sx& A_2) at EO.Internal.o9..ctor(av A_0, HtmlToPdfOptions A_1) at EO.Pdf.HtmlToPdfSession.a(WindowsIdentity A_0, HtmlToPdfOptions A_1) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at TLP.Sync.Pdf.PdfBuilder.BuildPDF(StringBuilder sbHtml) at TLP.Sync.Pdf.PdfBuilder.Build(String html) at TLP.Jobs.Enrollments.Functions.CreatePdfAsync(Int32 enrollmentId) at TLP.Jobs.Enrollments.Functions.DoEnrollmentProcesses(Int32 enrollmentId, Int32 enrollmentType)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
I do not believe you can use EO.Pdf with WebJob. WebJob runs on the same VM as your Azure WebSite, which is shared in nature and has many restrictions. Because EO.Pdf needs to make many system calls, it can only run on Azure VM where you can have full permission. This usually includes Azure VM and Azure Cloud Service, which is backed up by Azure VM.
Thanks!
|