nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong local header signature: 0xe011cfd0

qingtian305 opened this issue · comments

NPOI Version

test version 2.6.2

File Type

  • [ ×] XLS (Excel 97-2003)
  • [ √] XLSX (Excel 2007+)

Upload the Excel File

Please attach your original Excel File to help us reproduce the issue
data.xls

Reproduce Steps

A simple example:
IWorkbook workbook;
using (var fileStream = new System.IO.FileStream(filePath, System.IO.FileMode.Open, System.IO.FileAccess.Read))
{
workbook = new XSSFWorkbook(fileStream);
}

Issue Description

wrong local header signature: 0xe011cfd0

But previously opening XLS files was normal, right?