I get this error while trying to open some xls files using Excel.ExcelReaderFactory ( http://exceldatareader.codeplex.com/ )
IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);
excelReader.IsFirstRowAsColumnNames = false;
DataSet spreadsheetDocument = excelReader.AsDataSet();
Error: neither the Workbook thread nor the Book was found in the file
An error occurs when calling CreateBinaryReader
Some files work 100%, but others provide this exception. Does anyone have any idea?
A similar question on their website ( http://exceldatareader.codeplex.com/discussions/461766 )
source
share