I get this when I try to open an Excel file saved with Office 2007 as "Microsoft Office Excel 97-2003 Compatible Workbook" (.XLS).
It is not usable in my company if this can't open simple Excel files..
StackTrace:
- Code: Select all
at Spire.Xls.Core.Spreadsheet.XlsPageSetupBase.ParseRecord(BiffRecordRaw record) at Spire.Xls.Core.Spreadsheet.XlsPageSetup.ParseRecord(BiffRecordRaw record) at Spire.Xls.Core.Spreadsheet.XlsPageSetupBase.Parse(IList data, Int32 position) at Spire.Xls.Core.Spreadsheet.XlsPageSetup..ctor(d0 A_0, Object A_1, ArrayList A_2, Int32 A_3) at Spire.Xls.PageSetup..ctor(cj A_0, Object A_1, ArrayList A_2, Int32 A_3) at Spire.Xls.Core.Spreadsheet.XlsWorksheet.ExtractPageSetup(Int32 iStartIndex) at Spire.Xls.Core.Spreadsheet.XlsWorksheet.ParseData() at Spire.Xls.Core.Spreadsheet.XlsWorksheetBase.Parse() at Spire.Xls.Core.Spreadsheet.XlsWorkbook.g() at Spire.Xls.Core.Spreadsheet.XlsWorkbook.b(gb A_0, ExcelParseOptions A_1, Int32 A_2, Int32 A_3, Hashtable A_4, IDecryptor A_5) at Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(gb A_0, ExcelParseOptions A_1, String A_2) at Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(ah A_0, ExcelParseOptions A_1, String A_2) at Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d0 A_0, Object A_1, String A_2, ExcelParseOptions A_3, Boolean A_4, String A_5) at Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d0 A_0, Object A_1, String A_2, ExcelParseOptions A_3) at Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d0 A_0, Object A_1, String A_2) at gn.a(Object A_0, String A_1) at cj.a(Object A_0, String A_1) at cr.b(String A_0) at Spire.Xls.Workbook.LoadFromFile(String fileName)
Also I don't understand why the .Cells property of a Row is always Nothing. The .Columns property does contain values but that is the weird name for the content of a Cell.