Welcome Guest Search | Active Topics | Sign In | Register

EO PDF Generate issue Options
Satish
Posted: Monday, December 20, 2021 11:08:31 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2021
Posts: 3
Hi EO ,
We are using EO Pdf tool to generate PDF and i'm facing below issue .

Here are version details . Could you please let me know what is causing the issue ?

Prod version - 18.1.75.0 , EO 2018.
.Net Framework 4.7
Window server 2019.

2021-12-20 22:27:55,378 [33] ERROR PortalLog Failed to resolve LoadLibrary.
2021-12-20 22:27:55,393 [33] ERROR PortalLog at EO.Internal.jr.b.d()
at EO.Internal.jr.b.a(bab[] A_0, String A_1, String A_2)
at EO.Internal.jr.a(Boolean& A_0, bab[] A_1, String A_2, String A_3)
at EO.Internal.jr.a(bab[] A_0, String A_1, String A_2)
at EO.Internal.awc.b()
at EO.Internal.awc.a(WindowsIdentity A_0)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.s4.b()
at EO.Internal.nu.a(s4& A_0)
at EO.Internal.al6.a(au A_0, s4& A_1)
at EO.Internal.pf..ctor(au 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, String pdfFileName, HtmlToPdfOptions options)

eo_support
Posted: Tuesday, December 21, 2021 10:38:42 AM
Rank: Administration
Groups: Administration

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

Please update to the current version. This occurs because your version does not support Windows Server 2019.

Thanks!
Satish
Posted: Monday, January 31, 2022 4:50:11 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2021
Posts: 3
Hi EO ,
It's working fine in all dev & UAT environments (it includes Window server 2019 ) . We are seeing issue only in WCF service's and it's working fine in Web app in Prod environment .

Thanks,

eo_support
Posted: Monday, January 31, 2022 9:43:10 PM
Rank: Administration
Groups: Administration

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

You would still need to update to the latest build first. The fact that your version works on one Windows 2019 system does not mean it will work on all Windows 2019 systems. Because your version was released before Windows Server 2019 was released so it was not tested on Windows Server 2019 at all. Even after the initial Windows Server 2019 release, there are still subsequent patches from Microsoft that would require code changes from our end to work with as well. All those means you should update your version first.

Thanks!

Satish
Posted: Sunday, February 6, 2022 10:56:26 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2021
Posts: 3
Hi EO ,
We are trying to use the last EO PDF in Asp.net core 2.0 web api and seeing below issue . seeing the same issue after adding System.Drawing.Common refernce reference also.

EO Product name - EO.Total 2021
EO PDF version - 21.3.18.0

code - HtmlToPdf.ConvertHtml("test Pdf", pdfFilePath)

Error - Please reference nuget package System.Drawing.Common.

Is EO PDF will support in Asp.net core 2.0 API ? If yes please let us know the version details and any other settings details. Currently we are using old version as mentioned in previous email . We want to upgrade version but before that we want to test new version will support in ASP.net core 2.0 API or not.

Thanks,

eo_support
Posted: Monday, February 7, 2022 9:19:46 AM
Rank: Administration
Groups: Administration

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

Please check whether you can use System.Drawing.Image class. It's possible that the System.Drawing.Common nuget package you added is for a newer .NET Core version thus is not loaded by .NET Core 2. You can use the following code to verify this:

Code: C#
Type type = typeof(System.Drawing.Image);
string s = type.FullName;
if (s == "System.Drawing.Image")
    Debug.WriteLine("OK");


Because other dependency libraries (such as System.Drawing.Common) have already moved beyond .Net Core 2.0, we no longer test our product on .NET Core 2.0, even though if it should work if you can find the proper dependency DLLs. However the easiest solution is obviously to upgrade your .NET Core versions.

Thanks!


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.