HTML to PDF in asp.net core returning blank page

I am currently working on the localhost, although I am connected to a remote server via a secured VPN.
I have datatable and some other jquery that is populating the table on that page. 

I tried testing with https://www.google.com/ as stated in the blog but still downloading blank.

I will appreciate if this can be solved 

Thanks


3 Replies 1 reply marked as answer

PK Prasanna Kumar Viswanathan Syncfusion Team September 3, 2020 02:20 PM UTC

Hi Bamigboye, 
 
Thanks for contacting Syncfusion support. 
 
Based on your query we suspect that you need to export the PDF document from the Grid. We have attached the online demo for the PDF Export, 
 

If we misunderstood your query please provide the details which syncfusion component you are using in your application. 
 
Regards, 
Prasanna Kumar N.S.V 
 



DJ David Jackson February 11, 2021 06:49 PM UTC

https://help.syncfusion.com/file-formats/pdf/converting-html-to-pdf-in-asp-net-core

I have also used this example and my pdf is blank


GK Gowthamraj Kumar Syncfusion Team February 12, 2021 12:33 PM UTC

Hi David, 
 
Thank you for contacting Syncfusion support.   
   
Our HTML converter may generate blank PDFs while converting HTTPS sites to PDF. For converting HTTPS sites to PDF, the WebKit rendering engine requires OPENSSL libraries. So, please make sure the OPENSSL assemblies are available in the machine where the conversion takes place. Please refer to the below links for more details,   
 
 
However, the below mentioned OPENSSL assemblies can be placed in the Windows system folder of the machine. (for 64-bit machine, it should be place in $SystemDrive\Windows\SysWOW64 and for 32-bit machine, it should be place in $SystemDrive\Windows\System32).  
  • libeay32.dll
  • libssl32.dll
  • ssleay32.dll
 
If you are hosting the application in the Azure environment, By default, some Azure websites do not have the OPENSSL assemblies. So, these assemblies should be added to the website explicitly. Please refer to the below links to add OPENSSL assemblies to the Azure website.     
   
If still, you are facing the same issue, kindly provide more details such as complete input HTML file/URL (with all resources styles, scripts, etc.,), complete code snippet, environment details (OS, Bit version, RAM, etc), product version to reproduce the issue in our end. So, that it will be helpful for us to analyze and assist you further on this.   
 
Regards, 
Gowthamraj K 


Marked as answer
Loader.
Up arrow icon