I'm using the XlsIO library to export some data to a table in an XLSX file. My code doesn't generate any errors while running, but I get a prompt to repair the file when I open it in Microsoft Excel. I've zipped and attached the error log created by Excel after I allow it to repair the file. I'm using version 22.214.171.124 of Syncfusion.
AVAbirami Varadharajan Syncfusion Team June 10, 2019 03:22 AM
Greetings from Syncfusion.
We are unable to reproduce the issue with the shared information. We request you to shareusthe code snippet used at your end for generating documentalong withthe corruptedoutputExcel document. This will be helpful for us to findouttherootcause of the issue and provide the prompt solution at the earliest.
DFDavid FrischknechtJune 10, 2019 11:29 AM
Unfortunately I was not able to reproduce the issue with sample data, either. It has to be something to do with the data I'm loading from our database. Since that data is confidential and I am under a bit of a time crunch, I decided to create the workbook using Excel interop which seems to be working fine.
AVAbirami Varadharajan Syncfusion Team June 11, 2019 05:54 AM
We require the corrupted document to find the exact root cause of the issue. So, please share the document to email@example.com with forum id as subject line.
Note: As per Syncfusion norms, the provided documents are used only for testing purpose and we will maintain it confidentially.
//got these 2 lines from https://www.syncfusion.com/forums/143545/saveas-corrupt-excel-file
//File still corrupted with or without them
I am using the above code to create an excel file, but after successful generation, it pops an message saying it's corrupt when i open the file. Attached is the file generated. The password to open is 2020/03/06 and the file name is the content protection password. Any help will be greatly appreciated