We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Why XlsIO throws "cannot recognize current file type" exception?

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.


To know more about avoiding other errors in XlsIO, please refer the documentation.

Download input file

Download complete sample

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

Article ID: Published Date: Last Revised Date: Platform: Control:
8449 02/15/2018 02/15/2018 WinForms XlsIO
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon