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

Commented Unassigned: Can not read .xlsx file using the latest version on mono [13130]

$
0
0
I am using NPOI latest version, NPOI 2.1.1, .net 4.0
I can not open the .xlsx file on my debian/monodev, although it works on windows.

Here is the code:
IWorkbook wb = new XSSFWorkbook(uploadFile.InputStream);


Here is the error message:

Can't read content types part !
"NPOI.OpenXml4Net"

at NPOI.Util.PackageHelper.Open (System.IO.Stream is1) [0x00000] in <filename unknown>:0
at NPOI.XSSF.UserModel.XSSFWorkbook..ctor (System.IO.Stream is1) [0x00000] in <filename unknown>:0

Any thought what the problem is?

many thanks
Comments: ** Comment from web user: KevinQiangK **

I meet the same problem.my enviroment as follow:
1. Mono JIT compiler version 3.10.0 ;
2. Npoi:NPOI 2.1.1, .net 4.0;
3. OS: Mac Version 10.9.5;


Viewing all articles
Browse latest Browse all 1621

Trending Articles



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