Hi,
We are upgrading the EO.pdf version from 19.2.11.0 to 25.2.36.0. Used this to convert HTML to PDF
Currently, we have two implementations:
User Report - an on-demand functionality where data is exported to PDF.
Scheduler - a feature that schedules reports for export at specific times.
After upgrading to 25.2.36.0 version, the on-demand reports are functioning correctly. However, the scheduler is returning errors.
To narrow down the analysis and identify the root cause, we replaced our existing code with the following simple implementation using sample HTML:
Sample Code:
using (HtmlToPdfSession session = HtmlToPdfSession.Create())
{
LogMessage("HtmlToPdfSession Test - Created");
LogMessage("html1 updated");
string html1 = "<!DOCTYPE html><html><body><h1>My First Heading</h1></body></html>";
session.LoadHtml(html1);
string AbsoluteFilename1 = pdfPath.TrimEnd(new char[] { '\\\\' }) + "\\\\" + filename + ".pdf";
LogMessage("Render" + AbsoluteFilename1);
session.RenderAsPDF(AbsoluteFilename1);
}
Upon comparing the logs, we identified the following difference between the on-demand logs and the scheduler logs:
Scheduler Logs:23/09/2025 06:43:07 - 23/09/2025 06:43:07 - Managed Thread Id: {22}
Message : DEBUG CONSOLE OUTPUT:
Source: https://hic045248.global.ds.honeywell.com/eo_loadhtml_d6f15c9b-e35c-42f4-a2a4-7c94078d34fc.html
Line #: 0
Severity: Error
Failed to load resource: the server responded with a status of 404 () We suspect the LoadHtml(html) method is causing this issue. Please assist us in finding a solution, and let me know if you need any additional details.