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

Free Support Forum - aspose.com

Corrupted file


I'm using Aspoce.Cells 4.8.1 to generate an Excel file.

I'm trying to extract about 850 lines from my DB, but i receive a corrupted file message while trying to open it with excel. The maximum number of line that i can extract is 505. Starting at 506 i receive the error message. The data is in the workbook, but Macros and text formatting are deleted.

I use the range copy property to copy the first line from my workbook range over all the extracted data.

Thanks for you help.


Hi Samuel,

Please post the corrupted file which is generated by Aspose.Cells for .NET.
The attached file has been saved by MS Excel. We could not find the issue, so we need the corrupted file here.

And, we tried the following code, it works fine.

Workbook workbook = new Workbook();
Cells cells = workbook.Worksheets[0].Cells;
cells[“E513”].PutValue(“non confirmer”);


I have also attached the latest fix, if you could try it first.

Thank you.

Here are the files ; take two.


Thank you for sharing the corrupt file. We will look into it and get back to you soon.

Thank You & Best Regards,


Well, we find there are too many CellAreas in a validation.
Could you create a sample project to show how to import data? We will check it soon.
We really appreciate your help in this regard.

Thank you.


Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have enhanced copying validations in copying rows. If you still face any problem, please post your sample project here and we will check it soon.

Thank You & Best Regards,

Everything works fine with this new version !

Thanks a lot for your help !!