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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Platform: WinForms |
Control: XlsIO

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

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile