ns10.Exception2


#1

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];

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

#2

@pramodhcom,

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.