The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
We have a problem on our production server that prevents us to generate PDF from HTML. (The error is: Syncfusion.Pdf.PdfException: Failed to convert the webpage)
Here are all the version of OS/dotnetcore/syncfusion binaries we use:
Syncfusion QT binaries from the latest available downloads: https://www.syncfusion.com/support/directtrac/downloads/16.1.0.24 (WebKit HTML Converter Linux) and in our csproj file: PackageReference Include="Syncfusion.HtmlConverter.NETStandard20" Version="16.1200.0.24"
The exact same versions on my development machine works great, so we don't understand were the problem comes from.
My guess at this point is that some OS libraries are not compatible with this version of syncfusion html to pdf converter (since the same code runs fine on different linux with more recent packages).
Is there any ways to have more details about what is failing during the html to pdf conversion ?
PVPrakash Viswanathan Syncfusion Team June 14, 2018 12:59 PM UTC
Hi Michon,
Sorry for the delayed update.
We have not tested the HTML conversion in Debian 8 OS earlier. But we faced this exception earlier in Ubuntu OS and resolved it by installed the dependency packages. Please refer below UG and KB link for prerequisites of HTML conversion in Linux.
However, we have created a support incident under your account to follow up for this exception. Please log on to our support website to check for further updates.