Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all articles
Browse latest Browse all 448

Commented Issue: "BIFF Stream error" when converting to dataset [11636]

$
0
0
Hi,

I am using the 2.1 beta binaries.
when trying to open a SQL server reporting services generated excel, and converting to a dataset, I get the following exception:
ArgumentException was unhandled
"BIFF Stream error: Buffer size is less than entry length"

```
string excelPath = @"actualfullpathofexcelfile.xls";

FileStream streamExcelBase = File.Open(excelPath, FileMode.Open, FileAccess.Read);
IExcelDataReader excelReaderBase = ExcelReaderFactory.CreateBinaryReader(streamExcelBase);

//below line throws exception
DataSet reportDataset = excelReaderBase.AsDataSet();

```
Any ideas?

Thanks in advance.
Faiz
Comments: ** Comment from web user: kunaluppal **

I got the same issue today, while working on a crystal report generated excel. I am using the latest dlls. Was this issue not fixed ?


Viewing all articles
Browse latest Browse all 448

Trending Articles