Hi,
I'm trying to write an excel using filestream
```
using (FileStream file = new FileStream(selectDest.SelectedPath + @"\Import update LHT.xls", FileMode.Create, FileAccess.Write))
{
wbImport.Write(file);
}
```
and I'm getting this error
```
An unhandled exception of type 'NPOI.Util.RuntimeException' occurred in NPOI.dll
Additional information: Buffer overrun i=111;endIndex=152;writeIndex=43
```
The workbook has only one sheet with about 500 rows so I don't think the size is the problem.
The workbook writing worked until last week and since I keep getting this error and I don't know why.
I'm trying to write an excel using filestream
```
using (FileStream file = new FileStream(selectDest.SelectedPath + @"\Import update LHT.xls", FileMode.Create, FileAccess.Write))
{
wbImport.Write(file);
}
```
and I'm getting this error
```
An unhandled exception of type 'NPOI.Util.RuntimeException' occurred in NPOI.dll
Additional information: Buffer overrun i=111;endIndex=152;writeIndex=43
```
The workbook has only one sheet with about 500 rows so I don't think the size is the problem.
The workbook writing worked until last week and since I keep getting this error and I don't know why.