I'm getting this error trying to open some xls files using the Excel.ExcelReaderFactory (http://exceldatareader.codeplex.com/)
IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);
excelReader.IsFirstRowAsColumnNames = false;
DataSet spreadsheetDocument = excelReader.AsDataSet();
Error: Neither stream 'Workbook' nor 'Book' was found in file
The error occures when you call CreateBinaryReader
Some files work 100%, but others give this exception. Does anyone have any ideas?
Similar question on their site (http://exceldatareader.codeplex.com/discussions/461766)