HTML to PDF Converter Failed to Convert

Hello,

We are doing an html to pdf conversion using your solution here

How to convert HTML to PDF file in Blazor using C# | ASP.NET Core (jQuery) - PDF (syncfusion.com)


The conversion failed (error "Html conversion failed"). We followed the instructions as it is. What could be the reason for this?


The QtBinariesWindows folder exists and properly set.

We are using Syncfusion version 19.4.0.38


Thank you.

Clarence


1 Reply

GK Gowthamraj Kumar Syncfusion Team January 19, 2022 12:43 PM UTC

Hi Clarence, 

We have tried to reproduce the reported issue with test document on our end, but it is working properly and document generated. We were not able to reproduce the reported exception, the reported exception may occurs due to the missing of pre-requisites in the machine. So, please ensure the dependencies are properly configured in the machine where the conversion take place. And make sure to use the Syncfusion assemblies and QtBinaries from the same version,  

Refer below links to troubleshooting the HTML converter.   

Refer below KB link for resolving the failed to convert web page exception, kindly try the provided solutions and let us know the result.   

We have attached the sample for converting Html to PDF document using Blazor application. Please try the sample with your input files on your end and let us know the result.  


Please refer the below link for more information, 

Note: After hosting the application, Go to Fetch data à Click Export to PDF button for conversion.   

If still you are facing the same issue, kindly provide more details such as modified sample or complete input HTML file/URL (with resource style, fonts, scripts , etc.,), complete code snippet, Environment details (OS, bit version, culture settings, RAM size, etc.,), product version to check the issue in our end. So, that it will be helpful for us to analyze and assist you further on this.   

Regards, 
Gowthamraj K 


Loader.
Up arrow icon