Can't open xls file and throw cannot recognize current file type. But I can open in ms excel.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
MemoryStream ms = new MemoryStream();
using (FileStream f = new FileStream(openFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
{
f.CopyTo(ms);
}
ms.Seek(0, SeekOrigin.Begin);
IWorkbook wb = application.Workbooks.Open(ms);
Attachment:
SIL197A,2412159_262042e.xls