Exception: "Cannot access a closed file"

Hi,

i am getting an error when i click again the download button after downloading a zip file using syncfusionv6.2.0.32. i am not able to provide you the code due to restriction. Hope u would understand the scenario.


System.ObjectDisposedException was unhandled
Message="Cannot access a closed file."
Source="mscorlib"
ObjectName=""
StackTrace"
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream
at Syncfusion.Compression.Zip.ZipArchiveItem.Close()
at Syncfusion.Compression.Zip.ZipArchiveItem.Dispose()
at Syncfusion.Compression.Zip.ZipArchive.Dispose()
at Syncfusion.Compression.Zip.ZipArchive.Finalize()

Many Thanks,
Senthil Kumar

1 Reply

GM Geetha M Syncfusion Team September 2, 2009 07:13 AM UTC

Hi Senthil,

I am afraid that I am not able to reproduce the problem. Could you please try modifying the sample in the link below and send back to me so that we can recreate and find the cause of the problem?

http://files.syncfusion.com/support/samples/XlsIO.Web/7.3.0.20/F89236/main.htm

Regards,
Geetha

Loader.
Up arrow icon