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

Exception while creating Workbook from File

Feb 6, 2012 at 7:49 AM
Edited Feb 6, 2012 at 8:01 AM


I use this code to open an existing file:

        public bool Open(string filename)
            byte[] byteArray = File.ReadAllBytes(filename);
            _stream = new MemoryStream();
            _stream.Write(byteArray, 0, byteArray.Length);
            _workbook = new XLWorkbook(_stream);

and get an Exception 'infoBackground [80] ist kein gültiger Wert für Int32.'. No Problem with other files.
The file opens well in Excel.

Thank you for your great work.

Feb 6, 2012 at 4:11 PM

Are you using v0.64.0? If so, please create a new issue and attach the file you're trying to open.