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

Worksheet.AutofitColumn cause memory corruption

Thread ID:





70911 Jan 8,2008 10:46 PM UTC Jan 10,2008 01:35 PM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Rama Krishna Avilala
Asked On January 8, 2008 10:46 PM UTC

I am using Xlsio on a web server. I was having some weird access voiltaion errors on some other parts of the system after exporting data to excel. The access violation occured only when I exported to excel otherwise the system worked perfectly.

I traced it back to IWorksheet.AutofitColumn method. The moment I comment calls to AutofitColumn there are no access violations.

So it seems that IWorksheet.AutofitColumn is calling some unmanaged API and is causing some memory corruption.

I can replicate the problem everytime on one machine.

Any ideas?

Melba Winshia [Syncfusion]
Replied On January 10, 2008 01:35 PM UTC

Hi Rama,

Thank you for your interest in Syncfusion products.

Worksheet.AutofitColumn causes memory corruption

I am afraid that I was not able to reproduce the issue. Also I have created a simple sample to test this issue and it is available in the following link:


Please have a look at the aboave sample and video clip and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?



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