This error occurs on RaisePropertyChanged or on this line of code
this.Spreadsheet.Workbook = workbook;
An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll
Additional information: One or more errors occurred.
here is the code which I use
input is stream form ms file dialog
XlsxFormatProvider formatProvider =
new
XlsxFormatProvider();
workbook = formatProvider.Import(input);
workbook.Name = openFileDialog.SafeFileName;
this
.Spreadsheet.Workbook = workbook;