We are receiving the below error when downloading the xlsx file that was generated using Aspose. The xlsx has data validation rules implemented using aspose api.
The complete error message is "Excel found unreadable content in "file name.xlsx’. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click yes.
When we click Yes, the excel file opens fine. When we click on Enable Editing on the Excel file, we receive the message “Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.” message.
If we comment out the code that adds the data validation, this issue does not occur. we are using the 7.5.0.0 version of Aspose dll.
Here’s the code sample that adds the data validation:
If your problem still occurs, then please provide us your runnable sample project along with source files replicating this issue with the latest version. We will look into your project and update you asap.
Thanks for your posting and using Aspose.Cells for .NET.
We were able to observe this issue. After running your project, corrupt xlsx file is generated. We have logged this issue in our database. We will look into it and resolve this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.