Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF does not work in Azure WebJob hosted in ASE Options
vmykhalchuk
Posted: Wednesday, March 6, 2019 6:52:40 AM
Rank: Member
Groups: Member

Joined: 3/6/2019
Posts: 12
Hello,

We tested our application which uses EO.PDF to convert HTML to PDF, and was working fine as Azure Web Job, but once we tried to deploy it to Dev environment, it started to fail:
Quote:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2)
at EO.Internal.wj.c.a(Object A_0)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)


The main difference between those two web jobs is that first one, which is working, was hosted in Azure cloud, and Dev is hosted in ASE.

It fails on the code which initializes the library and creates new PdfDocument, prior to actual conversion.

The version we tested this in is 19.0.56

Please let me know which additional information we can provide to you.
eo_support
Posted: Sunday, March 10, 2019 8:51:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Just update that this issue is being discussed through support email. Please let us know if you have not received email discussion related to this topic.


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.