I’m converting an html file to pdf, using the code below. This code works fine in a console application. When I run the same code in a .NET Framework 4.8 web application, the app pool recycles and an Event Log message is written: Application popup: w3wp.exe - System Error : A new guard page for the stack cannot be created.
using (HTMLDocument htmlDocument = new HTMLDocument(htmlFileName))
{
Aspose.Html.Saving.PdfSaveOptions pdfOptions = new Aspose.Html.Saving.PdfSaveOptions();
Aspose.Html.Converters.Converter.ConvertHTML(htmlDocument, pdfOptions, pdfFileName);
}
Could you please share a sample web application with us which is able to reproduce the issue? We will test the scenario in our environment and address it accordingly.
We were able to notice StackOverFlow exception while testing the scenario in our environment. Therefore, have logged an issue as HTMLNET-3028 in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.
We are afraid that the earlier logged ticket is not yet resolved. We will surely fix the logged issue on a first come first serve basis and let you know as soon as certain progress is made towards its resolution. Please be patient and give us some time.
The issues you have found earlier (filed as HTMLNET-3028) have been fixed in this update. This message was posted using Bugs notification tool by pavel.petrushechkin
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): HTMLNET-4287
You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.