That error usually means the file stream is getting closed before the workbook finishes saving. Try wrapping the save in a using (var stream = new FileStream(...)) { ... } block so it only disposes after the save is complete. Infragistics community
using (var stream = new FileStream(...)) { ... }