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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

unable to open the existing xls io

Thread ID:





115579 Jan 23,2014 09:38 AM UTC Feb 4,2014 04:44 AM UTC ASP.NET MVC (Classic) 3
Tags: XlsIO
Benjamin Cage
Asked On January 23, 2014 09:38 AM UTC

I would like to modify some sheets in existing file , but I found so difficulty to open that file . 
from this code 
    IWorkbook workbook = application.Workbooks.Open(dataPath, ExcelOpenType.Automatic);
it rise an error 

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 

Line 520:
Line 521:            //IWorkbook workbook = application.Workbooks.Create(1);
Line 522:            IWorkbook workbook = application.Workbooks.Open(dataPath, ExcelOpenType.Automatic);
Line 523:          

may be because the file is to big. any suggestion for my problem? i'm also attached the file.

best regards.


Manoj Kumar G M [Syncfusion]
Replied On January 30, 2014 03:49 AM UTC

Hi Benjamin,

We are unable to reproduce the issue at our end, please share the following details which would help us to proceed further.

1. Syncfusion Product version.
2. .NET FrameWork Version.

Please let us know if you need any further assistance


Benjamin Cage
Replied On February 3, 2014 07:23 AM UTC

I'm using syncfusion product version and .net fremework 4

Manoj Kumar G M [Syncfusion]
Replied On February 4, 2014 04:44 AM UTC

Hi Benjamin,

Thanks for your update.

The above reported issue has been fixed in our latest version So we recommend you to upgrade your essential studio version to our latest version.

We provided the latest version download link for your reference.


Please let us know if you need any clarification



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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