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

"file contains corrupted data"

Feb 7, 2013 at 9:59 AM
we're trying to download CSI index constituents and ClosedXML kept failing on "file contains corrupted data" (But I can open manually from Excel)

It failed on simple call to load the Excel:
XLWorkBook bk = new XLWorkBook(LocalFileName);
Feb 7, 2013 at 2:59 PM
That's an Excel 2003 file (.xls), only Excel 2007 (.xlsx) and above are supported (OpenXML files).
Feb 8, 2013 at 1:21 AM
my mistake thank you!