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

Cannot Open Storage Exception

Thread ID:





110528 Aug 9,2013 06:50 AM UTC Aug 19,2013 04:18 AM UTC WinForms 3
Tags: XlsIO
Santhosh A V
Asked On August 9, 2013 06:50 AM UTC


I have a problem opening the excel template document , which uses the CreateWorkBookUsingTemplate(String TemplateLocation) method to create the workbook using the template format.

We are using version of syncfusion & in that we are using 3.302.0.0 version of syncfusion assemblies which are built on .NET Framework 2.0.The problem is , earlier our excel template format was  of type .xlt , where without any problem was getting opened.But now we want to upgrade from .xlt to .xltm version.We are hardcoding the entire template location in code as below.

Using Syncfusion.ExcelRW;

            ExcelEngine excelEngine = new ExcelEngine();
            excelEngine.ThrowNotSavedOnDestroy = false;
            IWorkbook myWorkBook = null;
            IApplication application = excelEngine.Excel;

 myWorkBook =                ExcelUtils.CreateWorkBookUsingTemplate(System.Windows.Forms.Application.StartupPath + "\\" + "Template.xltm");    //////
Here in this statement it is throwing th exception "Cannot open storage"..The same statement , works if I change the extension of template to .xlt.

We are actually using the .xlt template & saving it as .xltm using 2007 or 2010 excel & then trying to open in our code.

Kindly let us know your valuable suggestions

Santhosh Ambale Venkatesh

Rajesh A [Syncfusion]
Replied On August 12, 2013 11:53 AM UTC

Hi Santhosh,

Thank you for using the Syncfusion products.

Currently we don’t have the support for *.xlt to *.xltm conversion. We are requesting you to create a new direct-trac incident and Request for issue in that. And also your assemblies’ version seems to be very old. So, we strongly recommend you to upgrade your product to our latest version, which resolves major fixes and enhancements.

Direct-Trac Link: Login

You can download the latest version from the following link.


Kindly let us know if you need any clarification.


Rajesh A

Santhosh A V
Replied On August 14, 2013 06:10 AM UTC

Thanks for the quick reply Rajesh.I will do as per your suggestion & will come back for clarifications , if any

Santhosh Ambale Venkatesh

Rajesh A [Syncfusion]
Replied On August 19, 2013 04:18 AM UTC

Hi Santhosh,

   Thank you for your update.

  Please let us know if you have 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