I have the url of the file as below. First I want to download content of the file. The file has drill down from SSRS configuration. After that I am opening a stream with the code app.Workbooks.Open(stream);
using (var client = new WebClient())
{
var content = client.DownloadData(url); // Get Existing file
Stream stream = new MemoryStream(content);
stream.Position = 0;
using (ExcelEngine xlsEngine = new ExcelEngine())
{
IApplication app = xlsEngine.Excel;
IWorkbook workBook = app.Workbooks.Open(stream);
}
}
Syncfusion Version:
Syncfusion.XlsIO.Base, Version=15.4460.0.20
Question:
If I try to create a new workbook from existing stream (SSRS report has drill down) file I get the following error
object not set to an instance of an object