Rank: Newbie Groups: Member
Joined: 5/23/2014 Posts: 4
|
trying to generate pdf from html getting this error: 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 TicketingWebApi.Handlers.PDFExport.ProcessRequest(HttpContext context)
windows server 2016 (docker image)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
You will get this error when you run an older version of EO.Pdf on a newer Windows. Please update to the latest version and it should resolve this issue for you. Your license does cover the latest version, but you need to go to your license key page to download a new key for the current version because each version uses a different key.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 5/23/2014 Posts: 4
|
Hi, i am using the latest version (18.2.26) and i do have active valid licanse and still getting this error
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
This may have to do with docker. Have you tried to run it in a standalone Windows 2016 server?
|
Rank: Newbie Groups: Member
Joined: 5/23/2014 Posts: 4
|
i didn't try to have use it outside of the docker environment. i don't have other environment to test other than my local i found EnableEOWP in previous posts and it helps. does that mean i can leave it like this? is there any consequences ?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Yes. You can leave it like that. EO.WebBrowser needs to dynamically start child process at runtime (because Chromium browser engine has a multi-process architecture). To make it more convenient for the programmer, by default we "borrow" window's built-in rundll32.exe. This can run into problems sometimes, particularly when third party security software would trigger false alarms when it sees an "unknown" application using rundll32.exe. Setting EnableEOWP to true would explicitly using our own eowp.exe to start child process thus avoid such issues. So it's safe to leave it on.
|