Welcome Guest Search | Active Topics | Sign In | Register

EO PDF Failed to resolve LoadLibrary running under 64-bit ASPNET Core exe Options
Grant Hawkes
Posted: Wednesday, August 7, 2019 12:36:50 PM
Rank: Member
Groups: Member

Joined: 4/27/2018
Posts: 17
When trying to use EO PDF under a 64-bit web API exe it throws the error seen below. Under a 32-bit process it works fine.

<PackageReference Include="EO.Pdf" Version="19.2.11" />

System.Exception: Failed to resolve LoadLibrary. at EO.Internal.jr.b.d() at EO.Internal.jr.b.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jr.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jr.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jr.o.c() at EO.Internal.jr.o.f() at EO.Internal.jr.o() at EO.Internal.jr.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jr.a(bac[] A_0, String A_1, String A_2) at EO.Internal.awa.b() at EO.Internal.awa.a(WindowsIdentity A_0) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.Internal.s2.b() at EO.Internal.nt.a(s2& A_0) at EO.Internal.al2.a(aw A_0, s2& A_1) at EO.Internal.pe..ctor(aw A_0, HtmlToPdfOptions A_1) at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at ADOT.MVD.Foundation.Business.Services.HtmlDocumentService.<BuildDocument>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.FinanceDocumentService.<GeneratePDFContent>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.FinanceDocumentService.<GeneratePaymentReceipt>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.ReceiptService.<ProcessCheckout>d__118.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.ReceiptService.<ProcessCheckout>d__112.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Web.API.Areas.Finance.Controllers.CheckoutController.<ProcessCheckout>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.<Execute>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__24.MoveNext() at EO.Internal.jr.b.d() at EO.Internal.jr.b.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jr.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jr.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jr.o.c() at EO.Internal.jr.o.f() at EO.Internal.jr.o() at EO.Internal.jr.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jr.a(bac[] A_0, String A_1, String A_2) at EO.Internal.awa.b() at EO.Internal.awa.a(WindowsIdentity A_0) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.Internal.s2.b() at EO.Internal.nt.a(s2& A_0) at EO.Internal.al2.a(aw A_0, s2& A_1) at EO.Internal.pe..ctor(aw A_0, HtmlToPdfOptions A_1) at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at ADOT.MVD.Foundation.Business.Services.HtmlDocumentService.<BuildDocument>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.FinanceDocumentService.<GeneratePDFContent>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.FinanceDocumentService.<GeneratePaymentReceipt>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.ReceiptService.<ProcessCheckout>d__118.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Finance.Business.Services.ReceiptService.<ProcessCheckout>d__112.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at ADOT.MVD.Web.API.Areas.Finance.Controllers.CheckoutController.<ProcessCheckout>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.<Execute>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__24.MoveNext()
eo_support
Posted: Wednesday, August 7, 2019 3:51:21 PM
Rank: Administration
Groups: Administration

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

You are using the wrong version of DLLs. The version you used CAN NOT be 19.2.11. Version 19 does not have this error message. Only version 18 and before has this error message. So please check your DLL versions.

Thanks!
Grant Hawkes
Posted: Wednesday, August 7, 2019 4:36:17 PM
Rank: Member
Groups: Member

Joined: 4/27/2018
Posts: 17
Thank you, I will investigate further.
Grant Hawkes
Posted: Thursday, August 8, 2019 11:51:19 AM
Rank: Member
Groups: Member

Joined: 4/27/2018
Posts: 17
After using the new version of the DLL the error went away, thank you.
eo_support
Posted: Thursday, August 8, 2019 12:46:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Great. Thanks for confirming!


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.