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

Free Support Forum - aspose.com

ArgumentOutOfRangeException thrown by Workbook.Open() method

I'm getting a message opening a particular excel workbook using Aspose.Cells for .net version The exception occurs immediately upon execution of the Workbook.Open() method. It appears to be something unique to this particualar workbook. I've attached a copy of the excel file that is causing the error.

The exception info is as follows:

The message is:

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

Here is the stack trace:

at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at x2e38ab1759381034.x8b6071c5dcbbf539.xa5f017759a1960b5(x508b33aea0611cd1 xcf18e5243f8d5fd3, xad9b6174740c7664 x28d520281f985dcb)
at x2e38ab1759381034.x8b6071c5dcbbf539.x533dee58d7fff4e6(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at x2e38ab1759381034.x8b6071c5dcbbf539.x6b024d3b2b8f9765(MemoryStream xcf18e5243f8d5fd3)
at x2e38ab1759381034.x8b6071c5dcbbf539.x6f3d999f7a817f2d(xd8c3135513b9115b x84378c276c4cd7e2)
at x2e38ab1759381034.x8b6071c5dcbbf539.x06b0e25aa6ad68a9(Stream xcf18e5243f8d5fd3)
at Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type)
at Aspose.Cells.Workbook.Open(String fileName)
at AsposeTest.Program.Main(String[] args) in C:\Documents and Settings\Michael.W.Stevens\My Documents\Visual Studio 2008\Projects\AsposeTest\AsposeTest\Program.cs:line 20
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()



Thank you for considering Aspose.

We have found your mentioned issue after an initial test. We will look into it and get back to you soon. Your issue has been registered in our issue tracking system with issue id CELLSNET-11258.

Thank You & Best Regards,


Please try the attached version, we have fixed your mentioned issue.

Thank you.

I tried the new version and it now works. Thank you.

The issues you have found earlier (filed as 11258) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.