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

Unstable performance

Thread ID:





97242 Nov 10,2010 02:33 PM UTC Nov 19,2010 01:06 PM UTC WinForms 1
Tags: XlsIO
Weixiang Guan
Asked On November 10, 2010 02:33 PM UTC


I am now using the Syncfusion XlsIO module to create a report tool. My approach is first create some template xls, then the tool will parse some parameters and create a new sheet using the existing template. There are more than one sheet that will use the same template in one report and one workbook.

However, when I perform the template marker on one specific template worksheet, in the second time it fails, and the exception is "Unable to cast object of type 'System.Int32' to type 'System.String'.", which is thrown in the applayMarkers() function. This function is called twice since there are two samples to be applyed on the same template(but new instance of the template each time). So when I apply the sample using the marker just once, no matter which sample, it works, only when I apply twice, if throws such an exception. So I don't think it is the problem of the samples.

I hope I can debug into the source code of the XlsIO module, but no matter what I did, add references, or even add the project of XlsIO to the same solution, it will not step into the souce code of XlsIO. So I cannot see what is happening and why.

I encounted also some similar problem with other functions, the first call works, but the second or the later call fails, and the exception was even "The methode or the operation is not implemented"! However I avoided this problem, but the problem above cannot be avoided, otherwise the report tool cannot work as expected.

Please give me some help, thanks!


Lokesh R [Syncfusion]
Replied On November 19, 2010 01:06 PM UTC

Hi Weixiang,

Thank you very much for your interest in Syncfusion Products.

As per the reported details i hope that your tool is multithreaded if so then for your information Essential XlsIO is not a thread safe product. If not can you please update us the simple issue reproducing sample, So that we can proceed further and analyze the actual cause of the issue.

Please let us know if you need any clarifications.



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

or the page will be automatically redirected to 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