I'm getting this error when loading an .xls file:
[InvalidCastException: Unable to cast object of type 'br' to type 'kh'.]
Spire.Xls.Core.Spreadsheet.XlsPageSetupBase.ParseRecord(BiffRecordRaw record) +741
Spire.Xls.Core.Spreadsheet.XlsPageSetup.ParseRecord(BiffRecordRaw record) +253
Spire.Xls.Core.Spreadsheet.XlsPageSetupBase.Parse(IList data, Int32 position) +217
Spire.Xls.Core.Spreadsheet.XlsWorksheet.ExtractPageSetup(Int32 iStartIndex) +132
Spire.Xls.Core.Spreadsheet.XlsWorksheet.ParseData() +302
Spire.Xls.Core.Spreadsheet.XlsWorksheetBase.Parse() +30
Spire.Xls.Core.Spreadsheet.XlsWorkbook.g() +101
Spire.Xls.Core.Spreadsheet.XlsWorkbook.b(gb A_0, ExcelParseOptions A_1, Int32 A_2, Int32 A_3, Hashtable A_4, IDecryptor A_5) +72
Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(gb A_0, ExcelParseOptions A_1, String A_2) +2795
Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(ah A_0, ExcelParseOptions A_1, String A_2) +407
Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d0 A_0, Object A_1, String A_2, ExcelParseOptions A_3, Boolean A_4, String A_5) +215
gn.a(Object A_0, String A_1, ExcelParseOptions A_2, Boolean A_3, String A_4) +47
cr.b(String A_0, ExcelParseOptions A_1) +33
Spire.Xls.Workbook.LoadFromFile(String fileName, Boolean preserveMode) +56
Any help would be GREATLY appreciated. Thanks.