M
Maxim Kazitov
Hi,
My application open 5 ZIP files and read Entry from all 5 files.
and first 5 times all is fine,
but then I have following Exception :
Exception: System.ObjectDisposedException
Message: Cannot access a closed file.
Source: mscorlib
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at ICSharpCode.SharpZipLib.Zip.ZipFile.CheckLocalHeader(ZipEntry entry)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int32 entryIndex)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
=========================================================
But I don't close any files.
Does any body know any work around ?
My application open 5 ZIP files and read Entry from all 5 files.
and first 5 times all is fine,
but then I have following Exception :
Exception: System.ObjectDisposedException
Message: Cannot access a closed file.
Source: mscorlib
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at ICSharpCode.SharpZipLib.Zip.ZipFile.CheckLocalHeader(ZipEntry entry)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int32 entryIndex)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
=========================================================
But I don't close any files.
Does any body know any work around ?