This article explains why XlsIO throws “cannot recognize current file type” exception in C#/VB.NET
Why XlsIO throws cannot recognize current file type exception?
When the Excel file is created using older version of MS Excel (i.e, below Excel97), the “cannot recognize current file type exception” is thrown. The API IApplication.IsSupported(string filePath) or IApplication.IsSupported(Stream Stream) helps to check whether the file is supported in XlsIO. To work with unsupported files, we recommend copying the template document into a local machine where MS Excel is installed then resave Excel documents.
The following C#/VB.NET code illustrates how to check if the file is supported in XlsIO.
Note: This method is available only from 12.4 version
This page will automatically be redirected to the sign-in page in 10 seconds.