System.InvalidCastException: Unable to cast object of type 'NPOI.HSSF.Record.BOFRecord' to type 'NPOI.HSSF.Record.TabIdRecord'.
at NPOI.HSSF.Model.InternalWorkbook.FixTabIdRecord()
at NPOI.HSSF.Model.InternalWorkbook.CheckSheets(System.Int32 sheetnum) at offset 40
at NPOI.HSSF.Model.InternalWorkbook.SetSheetName(System.Int32 sheetnum, System.String sheetname)
at NPOI.HSSF.UserModel.HSSFWorkbook.CreateSheet(System.String sheetname) at offset 49