We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Blank PDF is generated when converting HTTPS sites to PDF in Azure

When converting HTTPS sites, blank paged PDF may occur due to missing of the OPENSSL assemblies in Azure website. To convert HTTPS sites, the converter requires OPENSSL assemblies. By default, some Azure websites do not have the OPENSSL assemblies. So, these assemblies should be added to the website explicitly.

Refer to the following links for prerequisites and converting HTML to PDF in Azure.

https://help.syncfusion.com/file-formats/pdf/converting-html-to-pdf#prerequisites-for-windows

https://www.syncfusion.com/kb/7546/

Steps to overcome the blank PDF issue on Azure website:

  1. Create a new folder in a project and copy the OPENSSL assemblies to that folder.
  2. Include that folder in a project and set copy to the output directory as “Copy always”.
  3. Get the path of the OPENSSL assemblies folder in C# and set it to the environment variable. Refer to the following code snippet.

 

Refer to the following screenshot for more information.

Article ID: Published Date: Last Revised Date: Platform: Control:
8821 06/07/2018 06/07/2018 ASP.NET MVC PDF
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.