We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com


Hi Team ,
We were using last one year and it was working, but few days back we are getting exception on AWS Cloud server.This exception is coming while creating workbook object. Please suggest a solution for this.

FileStream fstream = new FileStream(ExcelFilePath1, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Workbook workbook = new Workbook(fstream);
Worksheet worksheet = workbook.Worksheets[0];

            LoadOptions loadOptions = new LoadOptions(LoadFormat.Xlsx);
            workbook = new Workbook(BookingDetailsExcelFilePAth, loadOptions);


Thanks for the code segment and details.

Please provide us your template file that you are loading, we will check your issue. You may zip the file prior attaching.