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.
Unfortunately, activation email could not send to your email. Please try again.

Worksheet.AutofitColumn cause memory corruption

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 08:35 AM

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:

http://websamples.syncfusion.com/samples/XlsIO.Web/6.1.0.34/I40369/main.htm

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?

Thanks,
Melba


CONFIRMATION

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.

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.

;