In an MVC5 application with .NET 4.6.1 with IIS Express on Windows 7 and Visual Studio 2015 Update 3. I tried both Aspose.Cells v8.9.1 and 16.10.0 .
Workbook excelWorkbook = new Workbook(uploadFile.InputStream);
This line takes huge amount of time (an hour or so), even for the the smallest possible Excel file. On the other hand, on production machine and other developer machines, it is taking no time.
I tried reading uploadFile.InputStream into a byte[] just to make sure that ASPOSE is not having a trouble with this stream, and copying to bytes takes no time.
I even started trying this, but the same problem still exists:
LoadOptions loadOptions = new LoadOptions(LoadFormat.Xlsx);
loadOptions.MemorySetting = MemorySetting.MemoryPreference;
Workbook excelWorkbook = new Workbook(uploadFile.InputStream, loadOptions);
I have been having this problem for months and during this time, I have restarted my machine and Visual Studio several times.
Any clue of what is causing the time delay?