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.

Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree cause IIS crash

Thread ID:

Created:

Updated:

Platform:

Replies:

75761 Aug 8,2008 01:30 AM Oct 4,2013 06:22 PM ASP.NET Web Forms (Classic) 5
loading
Tags: XlsIO
Tommy
Asked On August 8, 2008 01:30 AM

Hi,

In our system. When I use XlsIO to generate xls report it cause our IIS crash. But that error is not happened every time to generate xls file.

In the Windows Event Viewer we caught this error when it happened.

Exception: System.AccessViolationException

Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

StackTrace: at Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree(IntPtr hHeap, Int32 dwFlags, IntPtr lpMem)
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.Finalize()

So I hope someone has any idea for this error.

Thanks







Yavanaarasi G [Syncfusion]
Replied On August 11, 2008 03:16 AM

Hi Tommy,

Thank you for your interest in Syncfusion products.

Could you please send the excel file in which the issue caused so that we can reproduce the issue from our side and provide you a solution?

Also please provide the following details:

1.System configuration.
2.Office version
3.Essential studio version

Regards,
G.Yavana


Irin
Replied On February 22, 2010 06:48 AM

Hi All

This problem i am also getting. it is not with specific file. it is randomly getting generated when ever i generate file.

For Example,

If i tries to generate same report for 4 time 4th time i am getting error & my application is getting closed.


The Error i caught is given below.
------------------------------------------------------------

at Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree(IntPtr hHeap, Int32 dwFlags, IntPtr lpMem)
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Dispose()
at Syncfusion.XlsIO.Implementation.Collections.RowStorage.Dispose()
at Syncfusion.XlsIO.Implementation.Collections.RowStorage.Finalize()********************Inner Exception*************************************
************************ Message *********************************
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.************************ IsTerminating *********************************
True
************************ Exception Object *********************************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree(IntPtr hHeap, Int32 dwFlags, IntPtr lpMem)
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Dispose()
at Syncfusion.XlsIO.Implementation.Collections.RowStorage.Dispose()
at Syncfusion.XlsIO.Implementation.Collections.RowStorage.Finalize()





--------------------------------------
Please do the needful.

Irin
Replied On February 22, 2010 06:50 AM

For the same report now i am getting this


at Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree(IntPtr hHeap, Int32 dwFlags, IntPtr lpMem)
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Dispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Finalize()
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.Finalize()********************Inner Exception*************************************
************************ Message *********************************
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.************************ IsTerminating *********************************
True
************************ Exception Object *********************************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Syncfusion.XlsIO.IO.Stream.Win32.API.HeapFree(IntPtr hHeap, Int32 dwFlags, IntPtr lpMem)
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Dispose()
at Syncfusion.XlsIO.Parser.Biff_Records.DataProvider.Finalize()
at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.Finalize()

Avin
Replied On September 10, 2012 02:57 AM

Hi,

I am also getting the same issue, Do we have any update from Syncfusion on this??

Thanks

Avin

 


Zachary French
Replied On October 4, 2013 06:22 PM

Similar issue except we're trying to open a file

here's the error

Application: w3wp.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

   at Syncfusion.XlsIO.Implementation.Heap.HeapFree(IntPtr, Int32, IntPtr)

   at Syncfusion.XlsIO.Implementation.Heap.HeapFree(IntPtr, Int32, IntPtr)

   at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.OnDispose()

   at Syncfusion.XlsIO.Parser.Biff_Records.IntPtrDataProvider.Finalize()

We're using: v (11.104.0.21)
Syncfusion.Compression.Base 
Syncfusion.Core 
Syncfusion.XlsIO.Base

Any help on this would be extremely helpful, since it brings down all of our clients on that box


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.

;