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.