Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Closed Unassigned: Buffer overrun while writing a workbook [13159]

$
0
0
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.

Viewing all articles
Browse latest Browse all 1621

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>