This project has moved. For the latest updates, please go here.


Problem with xlsx files generated in linux


When I create xlsx file in linux, MS Excell shows error message like "Excel found unreadable content in the file. Do you want to restore the contents ?"
Even this piece of code (c#) generate the error:

XLWorkbook test = new XLWorkbook();

In windows, it works perfectly.
Linux version I use:
Linux appdev 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

file attachments

Closed Apr 25 at 8:39 PM by igitur
Please try the latest version of ClosedXML (v0.87.1 at this stage). If you still experience the issue, log it on the new GitHub page.


MDeLeon wrote Oct 12, 2012 at 4:59 PM

I have absolutely no idea what to do here. I changed the file's extension to .zip and inspected the contents. Everything seems to be in order yet the OpenXML SDK says the file contains an invalid character. This is most likely introduced by the nix file system when the DocumentFormat.OpenXml.dll does the packaging.

Let me know if you find anything so I can put it in the documentation page.