Hi dera syncfusion Team,
We have a problem, when we open an excel file in local it works but in server it doesnt.the error is
"Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToDecimal(String value) at Syncfusion.EJ.Export.SheetImport.ProcessSheetContent(Int32 sheetIdx, IWorkbook workbook, IWorksheet worksheet, DataContainer container, Sheet sheetmodel) at Syncfusion.EJ.Export.SheetImport.ProcessSheet(Int32 sheetIdx, IWorkbook workbook, IWorksheet worksheet, Sheet sheetProp, DataContainer container, Dictionary`2 datasheets) at Syncfusion.EJ.Export.SheetImport.ProcessWorkBook(IWorkbook workbook, ImportRequest importRequest) at Syncfusion.EJ.Export.Spreadsheet.processRequest(ImportRequest importRequest) at Syncfusion.EJ.Export.Spreadsheet.Open(ImportRequest importRequest) at AutoRfq.WebApp.Controllers.TemplateController.GetExcelFile(ImportRequest importRequest) in D:\TFS Workspace\Seaproc\Source\AutoRfq\AutoRfq.WebApp\Controllers\TemplateController.cs:line 209"
Then i checked culture of server is en-US, but local is en-GB, if i set thread cultureinfo to en-GB it is working. But the problem is i am not sure if i change culture it will give same type of error for another file or not.. as you know i cant estimate the date time format or decimal symbol in an excel file. i am attaching the file for you. Please help. Also i got error "unsupported file" if file is xlsm, i am attaching it to..
Attachment:
Files_19ece019.zip