nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Apache License 2.0
5.73k stars 1.43k forks source link

wrong local header signature: 0xe011cfd0 #1257

Closed qingtian305 closed 9 months ago

qingtian305 commented 9 months ago

NPOI Version

test version 2.6.2

File Type

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?