We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Object Reference Error while converting HTML to PDF

Aspose PDF Version :
Small HTML Contents Generate PDFs successfully but the larger ones fail.
AsposePDFGenerator.zip (25.7 KB)

Please find the attached source and provide me a solution.


Thank you for contacting support.

You have mentioned an outdated version of Aspose.PDF for .NET API. Please upgrade to Aspose.PDF for .NET 18.8 because it includes more features and bug fixes. Also, the support is provided based on latest available version. We have not been able to reproduce the issue with latest version so please upgrade and then share your kind feedback with us.

Thank you Farhan.
Currently the Aspose version on production is Will this upgrade incur additional licensing costs. or the existing license could hold good.
awaiting your response.


The license file you have shared with your application is a temporary license and evaluation period will expire on 9th September 2018. Please note that license expiry date is specified in <SubscriptionExpiry>YYYYMMDD</SubscriptionExpiry> tag of your license file. If your original license file has expired, then you will need to purchase or renew your subscription. Please contact our Sales team over Purchase Forum for further assistance.