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

Free Support Forum - aspose.com

System.ArgumentNullException occurs when converting Excel to PDF

Test.zip (450.3 KB)

Hi Awais,

We are facing an issue with the document conversion from excel to pdf with the current version of Aspose(11.6) we are using. Can you please help to verify if the same works on the updated version.

There is an Error while converting attachment in PDF format. Exception :- Error occurred while converting Excel document to PDF format. System.ArgumentNullException: Value cannot be null

Please find the attached excel sheet with minimal content for which we are able to replicate the issue.

Thanks.

@KanishkaRai,

I am moving your thread in Aspose.Cells forum where you will be guided appropriately.

@KanishkaRai,

Please try our latest version/fix: Aspose.Cells for .NET v20.8.1 (attached)
Aspose.Cells20.8.1 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.8.1 For .Net4.0.Zip (5.4 MB)

I have tested your scenario/ case using your template file with v20.8.x to convert to PDF, it works fine and output PDF is fine tuned.