Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Excel File Load Error
posted

I got the following error while i was trying to load Excel file stream. I am using Infragistics2.Excel.v8.2. I can open the file from MS Excel.

Index was out of range. It must be non-negative and less than the size of the collection.

Parameter name: index Actual value was 1.

   at Infragistics.Excel.WorksheetCollection.get_Item(Int32 index)
   at Infragistics.Excel.Serialization.BiffRecords.EOFRecord.Load(WorkbookSerializationManager manager)
   at Infragistics.Excel.Serialization.WorkbookSerializationManager.LoadCurrentRecord()
   at Infragistics.Excel.Serialization.WorkbookSerializationManager.Load()
   at Infragistics.Excel.Workbook.LoadHelper(Stream stream, String parameterName)
   at Infragistics.Excel.Workbook.Load(Stream stream)