Error on save

Hi Team,

I am running into a weird problem. When I try to save the workbook using
Save(absoluteFilePath, SaveFormat.Xlsx)

I am running into the following exception:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

at Aspose.Cells.Workbook.Save(String fileName, SaveOptions saveOptions)
at Aspose.Cells.Workbook.Save(String fileName, SaveFormat saveFormat)
at xxxx.ReportHelper.ReportBL.CreateReport(ReportPackageDetail reportDetail, ReportPackage reportPackage) in C:\Projects\xxxxReportHelper\ReportHelperBL\ReportBL.cs:line 495

I have tried multiple fixes…

Hi,


Please try our latest version/ fix : Aspose.Cells for .NET v7.5.2 (if you are not already using it).

If you still find the issue, kindly create a sample project/application (runnable), zip it and post it here to reproduce the issue on our end, we will check your issue soon.

Thank you.

we use the version 7.2.1.4 with our licence. Is there a fix for that?

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

We fix the issues based on latest versions only. Please download and try the fix Aspose.Cells for .NET 7.5.2 and let us know your feedback. If you still have an issue, please provide us your source file and sample code replicating this issue with the latest version.