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

Free Support Forum - aspose.com

System.ArgumentException max (162000) < opt (687000)

We are using licensed version of Apose.Pdf version 18.6.1. When converting some html files to pdf, we are receiving below error.

System.ArgumentException
HResult=0x80070057
Message=max (162000) < opt (687000)
Source=Aspose.PDF

at .(Stream , Document , HtmlLoadOptions , String )
at Aspose.Pdf.Document.(Stream , LoadOptions )
at Aspose.Pdf.Document…ctor(String filename, LoadOptions options)

Please let us know why this issue is happening and resolution to fix this.

@amithviz

Please use the latest version of Aspose.HTML for .NET 22.10 and let us know how it goes on your side. Hope this helps you.

If you still face problem, please share your input HTML along with code example that you are using to reproduce the same issue at our end. We will investigate the issue and provide you more information on it.

Thank you for looking into this. Updating to 22.1.0 does seems to resolve the issue.

We have a license file that we use with 18.6.1 version. When we use the same file with 22.1.0, it gives below error. How can we renew this file?

“The subscription included in this license allows free upgrades until 26 Jun 2018, but this version of the product was released on 18 Oct 2022. Please renew the subscription or use a previous version of the product”

@amithviz

You can get 30 days temporary license and apply it to test your case.

To renew your license, you can post your query in Aspose.Purchase forum.