Hi Peter,
Thank you for your interest in Syncfusion products.
HRESULT E_FAIL error I am afraid that I was not able to reproduce the reported issue in our side.
The conversion from HTML to PDF is achieved as follows :
1) HTML Pages specified in the URL is first imported to PDF with the help of "HtmlConverter.Base.dll".
2) The HtmlConverter uses the MSHTML (Is a engine used to drive the browser) library which renders the HTML page.
3) HTMLConverter converts the HTML page to bitmap image or as a metafile image.
4) The Image is then rendered into the PDF document.
Please do find the sample from the below specified location which demonstrates the Html To PDF feature.
http://files.syncfusion.com/support/pdf.Windows/I58121/HtmlToPdf.zipCan you check whether you have the Microsoft.MsHTML.dll present in the webserver GAC. If you could not find there, Please drag and drop this assembly from the below location on
to GAC.
[Default Drive] or C:\Program Files\Microsoft.NET\Primary Interop Assemblies
Basically, the Microsoft.MSHTML.dll should be present in the GAC.
Also can you add the AspCompact="true" attribute to the page directive in Default.aspx file.
Could you please look at the below location if you need more information about HtmltoPDF conversion.
http://help.syncfusion.com/UG/Reporting/PDF/ASP.NET/Documents/441htmltopdf.htmPlease have a look at the above sample and if still the issue exists,
Could you please try to reproducing it in the above sample or send us html files so that we could sort out the cause of the issue and provide you a solution?
Please let us know if you need any further information.
Regards,
Thiru