Can not access a closed Stream. System.ObjectDisposedException: Can not access a closed Stream. at System.IO.Compression.DeflateStream.EnsureNotDisposed() at MS.Internal.IO.Packaging.CompressStream.Flush() at MS.Internal.IO.Zip.ZipIOLocalFileBlock.FlushExposedStreams() at MS.Internal.IO.Zip.ZipIOLocalFileBlock.UpdateReferences(Boolean closingFlag) at MS.Internal.IO.Zip.ZipIOBlockManager.SaveContainer(Boolean closingFlag) at MS.Internal.IO.Zip.ZipIOBlockManager.SaveStream(ZipIOLocalFileBlock blockRequestingFlush, Boolean closingFlag) at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at System.IO.Packaging.PackagePart.Close() at System.IO.Packaging.Package.DoClose(PackagePart p) at System.IO.Packaging.Package.DoOperationOnEachPart(PartOperation operation) at System.IO.Packaging.Package.System.IDisposable.Dispose() at Infragistics.Documents.OfficeOpenXml.Core.OfficeDocumentManager.Dispose(Boolean disposing) at Infragistics.Documents.Excel.Serialization.WorkbookSaveManagerExcel2007.Dispose(Boolean disposing) at Infragistics.Documents.Excel.Workbook.SaveXLSXFileHelper(Stream stream, WorkbookSaveOptions saveOptions) at Infragistics.Documents.Excel.Workbook.Save(String fileName, WorkbookSaveOptions saveOptions)
Any update?
Have you resolved it? Or do you still need help?
Hello Rajesh,
Thank you for contacting Infragistics. Please attach a sample project demonstrating the behavior.