Free Support Forum - aspose.com

Error while converting .xlsm to pdf

Hi Team,

Aspose.Cells gives an error while converting the .xlsm file to pdf.

Please see the error below:-

Index was outside the bounds of the array.. StackTrace : at ?[1] .? .??(Stream ) at Aspose.Cells.Workbook.Save(Stream stream, SaveOptions saveOptions) Kindly let us know about the fix.

Thanks,

Ashish

Hi Ashish,


Thank you for contacting Aspose support.

We have evaluated your presented scenario against the latest version of Aspose.Cells for .NET (Latest Version) , and we are unable to observe any exception while converting your provided sample to PDF format. Please check the following code & the attachment for the resultant PDF file.

In case you are using any older revision of the API, please give a try to the latest version. If you are already using the latest version then you must be performing other operations on your sample before converting it to PDF, in this case, please share your complete code (most preferably a standalone executable sample application).

Hi







When trying to use the version mentioned which has the above mentioned bug fixed, I am getting the following error :-



“The subscription included in this license allows free upgrades until 10 Mar 2015, but this version of the product was released on 14 Apr 2015”

Hi,

Thanks for your posting and using Aspose.Cells.

This message means your license subscription expiry date has passed. Now you need to get a new license and renew your subscription.

Please open your license file in a notepad. License file is in plain xml. There you will find subscription expiry date similar to this

20160119

It means, subscription will be expired on 19-Jan-2016. The format is YYYYMMDD.

You can download and use upgrades and fixes freely until your subscription expiry date has not passed. Once subscription expiry date is passed you can no longer get free upgrades.

Please renew you subscription and contact Aspose.Purchase team through their forum in this regard. It will help you and guide you with the steps to renew your subscription.