Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF Failed to Resolve LoadLibrary Options
PP_TDL
Posted: Tuesday, June 25, 2024 3:53:55 AM
Rank: Newbie
Groups: Member

Joined: 6/24/2024
Posts: 2
Hello,

We have been using EO.PDF 18.1.31.0 to convert HTML to PDF. This has stopped working when calling HtmlToPdf.ConvertHtml - now results in this exception being thrown:

Failed to resolve LoadLibrary. ---> System.Exception: Failed to resolve LoadLibrary.
at EO.Internal.jo.b.d()
at EO.Internal.jo.b.a(a93[] A_0, String A_1, String A_2)
at EO.Internal.jo.a(Boolean& A_0, a93[] A_1, String A_2, String A_3)
at EO.Internal.jo.a(a93[] A_0, String A_1, String A_2)
at EO.Internal.jo.o.c()
at EO.Internal.jo.o.f()
at EO.Internal.jo.n()
at EO.Internal.jo.a(Boolean& A_0, a93[] A_1, String A_2, String A_3)
at EO.Internal.jo.a(a93[] A_0, String A_1, String A_2)
at EO.Internal.av6.b()
at EO.Internal.av6.a(WindowsIdentity A_0)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.s2.b()
at EO.Internal.nr.a(s2& A_0)
at EO.Internal.al0.a(av A_0, s2& A_1)
at EO.Internal.pd..ctor(av 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 EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)

After checking the forums it suggests that this error is because a windows update and EO.PDF requires updating to work, so I upgraded to a trial version of 24.1.46.0 and it started working again, but there is a couple of things I want to clarify.

While our main application has a problem with converting html to pdf using version 18.1.3.1,9, If I port the code to a simple .net framework 4.8 console app to do the html to pdf conversion using that version it works fine on the same machine where our main application has a problem. Any idea why it might work in the test app but not the production app?

Do you know the date or windows version, or windows update where 18.1.31.0 stopped working? It would help us work out which of our customers may have a problem. It has thrown the above exception on

Windows 10 22H2 19045.4529
Windows 11 23H2 22631.3737

Thanks
eo_support
Posted: Tuesday, June 25, 2024 11:13:27 AM
Rank: Administration
Groups: Administration

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

You need to update to the latest build. Microsoft changed something on their end (through initial release on Windows 11 and through Windows update on Windows 10) and as a result it broke our old versions. The latest build should work correctly on both systems.

Thanks!
PP_TDL
Posted: Tuesday, June 25, 2024 12:44:06 PM
Rank: Newbie
Groups: Member

Joined: 6/24/2024
Posts: 2
Do you know which windows update breaks it on Windows 10? I ask because we have customers who will not be able to take a new release of our application straight away and it would be good to know which update it is that stops it working.
eo_support
Posted: Tuesday, June 25, 2024 2:52:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,166
We do not --- there are numerous Windows update released over the years on numerous different versions/variations of Windows in different market. So keeping track of them is beyond our capacity. There have in fact been multiple cases over the years when MS changed something and broke our product. Each time we had to change our code in order to work around the issue as soon as the issue was brought to our attention. So your best option is to stay up to date.


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.