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

Free Support Forum - aspose.com

Apose Cells v17.10 - Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: startIndex

Hi, I am evaluating Apose Cells 17.10 for integrating in our product & with the new version it throws exception for almost all excels files. Can you please help me evaluate the product so we can give Go ahead for purchase ?

Version : https://downloads.aspose.com/cells/net/new-releases/aspose.cells-for-.net-17.10/
Exception : {“Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: startIndex”}
StackTrace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at . (Byte[] , Int32 , Int32 )
at .()
at .()
at .(Byte[] , Int32 , Int32 , Int32 , CopyOptions )
at Aspose.Cells.Validation.(Validation , CopyOptions )
at Aspose.Cells.ValidationCollection.(ValidationCollection , CopyOptions )
at Aspose.Cells.Worksheet.Copy(Worksheet sourceSheet, CopyOptions copyOptions)
at Argo.DocumentReader.FileConverters.AsposeConverter.ConvertExcelToPdf(String fileFullPath, Int32& processTime) in C:\TFS\App\PolicyDetail.WebAPI\Dev\Argo.PolicyDetail.WebAPI\Argo.DocumentReader\FileConverters\AsposeConverter.cs:line 69

TargetSite {Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}

Thanks,
Arif

@Arif.Mohammed,

Thanks for the stack trace.

Could you provide a template Excel file and paste the sample code (runnable) here to reproduce the issue on our end, we will check it soon.