Welcome Guest Search | Active Topics | Sign In | Register

EO PDF in ASP.NET doesn't work after windows update Options
Sogelink
Posted: Friday, April 30, 2021 4:07:49 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2020
Posts: 1
Dear Support Team,

We use EO.PDF in our application in C# since many years.
A client was in trouble many weeks ago.
With a version 15.2.41.0, the generation of pdf crashed with a message in event viewer :

Nom de l’application défaillante ntdll.dll, version : 10.0.14393.3986, horodatage : 0x5f77edb8
Nom du module défaillant : unknown, version : 0.0.0.0, horodatage : 0x00000000
Code d’exception : 0xc0000005
Décalage d’erreur : 0x7753acc0
ID du processus défaillant : 0x1334
Heure de début de l’application défaillante : 0x01d73ce6969a08c2
Chemin d’accès de l’application défaillante : C:\Windows\SYSTEM32\ntdll.dll
Chemin d’accès du module défaillant: unknown
ID de rapport : fe46d78c-0ba0-4f4a-bfa5-19fad1a91a8f
Nom complet du package défaillant :
ID de l’application relative au package défaillant :

We desactivated the antivirus but nothing more.
We saw several windows update ([02]: KB4091664, [06]: KB4498947, [11]: KB4521858, [12]: KB4524244, [14]: KB4540723, [15]: KB4550994, [16]: KB4562561)
We went back before the update and it fixed the problem.

But yesterday the probleme come back.
I try to fix the probleme with the newest version 21.0.94.0 and i see several topic in forum so i add the line :
EO.Base.Runtime.EnableEOWP = true;
It doesn't work.
I try to add the line :
EO.Base.Runtime.InitWorkerProcessExecutable(fullPathEOWP); // fullPathEOWP is the full path of eowp.exe, which is in the nugget package c#, and i put in a directory with the read/write right
It doesn't work too.

But now there isn't a crash in event viewer (i don't know if it's good because no log is more difficult to fix now)

Do you know this issue or have any fix?

Best regards,
Mickaël
eo_support
Posted: Friday, April 30, 2021 11:34:56 AM
Rank: Administration
Groups: Administration

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

When your application crash, you should get an exception in your application. Please try to get that exception information. For example, if the following code fails:

Code: C#
HtmlToPdf.ConvertHtml("test", new PdfDocument());


Then you can try to get the exception using something like this:

Code: C#
try
{
    HtmlToPdf.ConvertHtml("test", new PdfDocument());
}
catch (Exception ex)
{
    string s = ex.ToString();

    ....Save the value of "s" somewhere and post it here...
}


Once we get the exception info, we will see what we can find.

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.