Hello,
we get an Excel file from customers which is actually a CSV file. This file seems to be saved as .xls only.
I would have thought that there would be a CellsException that says the file is invalid.
Unfortunately the following message appears:
System.IO.EndOfStreamException: Über das Ende des Datenstroms hinaus kann nicht gelesen werden.
bei System.IO.BinaryReader.FillBuffer(Int32 numBytes)
bei System.IO.BinaryReader.ReadInt64()
bei ..ctor(BinaryReader )
bei .(Stream )
bei Aspose.Cells.Workbook.(String , LoadOptions )
bei Aspose.Cells.Workbook..ctor(String file, LoadOptions loadOptions)
The file to reproduce can be created as follows:
- Create a text file with the content “ö” or something like that
- Changes the file extension to .xls
Now try to open it with Aspose.Cells.