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 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;