You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
Good day can help me with the following error that is generated when uploading an excel file and trying to read it. in asp.net core 2.0
Where stream is of type IFormFile file ( file.OpenReadStream())
1. ---line where the error occurs--------
var workbook = new HSSFWorkbook (stream);
2. ---line where the error occurs--------
var workbook = new XSSFWorkbook(stream);
-------------Version NPOI--------------
---------Error------------
NPOI.POIFS.FileSystem.NotOLE2FileException: 'Invalid header signature; read 0xE011BDBFEFBDBFEF, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid OLE2 document'
The text was updated successfully, but these errors were encountered:
Good day can help me with the following error that is generated when uploading an excel file and trying to read it. in asp.net core 2.0
Where stream is of type IFormFile file ( file.OpenReadStream())
1. ---line where the error occurs--------
var workbook = new HSSFWorkbook (stream);
2. ---line where the error occurs--------
var workbook = new XSSFWorkbook(stream);
-------------Version NPOI--------------
---------Error------------
NPOI.POIFS.FileSystem.NotOLE2FileException: 'Invalid header signature; read 0xE011BDBFEFBDBFEF, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid OLE2 document'
The text was updated successfully, but these errors were encountered: