Hi Milko,
Currently we are using 15.2. I tried your code with my file. It resulted in same error with xlsx file. From exception it is not very clear, what is wrong.
As per company policy, I can't share the excel. As this is the first time we faced this issue and works for most of the cases, I would like to understand from exception stack trace what could be the issue. I would expect a meaningful message in case there is something wrong with our excel
So could you please suggest how below exception stack trace could be related to our data and we can try to identify and fix that at our end
at Infragistics.Documents.Core.WorkItem.ExceptionInfo..ctor(Exception e)
at Infragistics.Documents.Core.WorkItem.Execute(WorkItemScheduler scheduler)
at Infragistics.Documents.Core.WorkItemScheduler.SynchronousImpl.Execute(WorkItem workItem)
at Infragistics.Documents.Core.WorkItemExtensions.GetResult[TResult](WorkItem`1 this)
at Infragistics.Documents.Excel.Workbook.Load(Stream stream, WorkbookLoadOptions loadOptions)
at Infragistics.UserControls.SpreadsheetControl.PreviewExcelFileFromByteArray(Byte[] byteArray)
Thanks