This project has moved and is read-only. For the latest updates, please go here.

The archive can not have the size 0

May 10, 2012 at 4:52 PM


I have the source:

FileStream fs = new FileStream(path, FileMode.OpenOrCreate);
var workbook = new XLWorkbook(fs);

in the line

var workbook = new XLWorkbook(fs);

comes out the following exception: "The archive can not have the size 0."

Can anyone help?

May 11, 2012 at 4:21 AM

You're trying to load an empty stream.