<BASE HREF="http://localhost:56559" />
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a rel='nofollow' href="https://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<link rel='nofollow' href="/Content/icon.css" rel="stylesheet" />
<i class="ti-check"></i> |
Queries |
Response | |
I tried URL to PDF and it works well on my local (loading external fonts) but it produces a blank PDF once published to the server (IIS on Windows Server 2019). |
We have tried to reproduced the reported blank PDF issue, but it is working properly. Can you please ensure the webpage URL is accessible or not in server web browser and kindly try the additional delay to the converter for loading the external resources (styles, scripts, images etc.,). Please find the code snippet for additional delay from below,
Additional Delay: https://help.syncfusion.com/file-formats/pdf/convert-html-to-pdf/blink#additional-delay
Please refer the below troubleshooting steps for Blink, If still you are facing the same issue, can you please provide more details such as complete input HTML file/URL (with resource style, scripts, etc.,), complete code snippet, server details (bit version, RAM, processor) product version to reproduce the issue. So, that it will be helpful for us to analyze and assist you further on this. | |
Using HTML to PDF works well on the server. See attached sample for reference.
By the way, it may be related with this other issue https://www.syncfusion.com/forums/150089/issues-when-converting-html-to-pdf-on-deployed-site. |
Can you please let us know whether the reported HTML string conversion is works on server? |