aspose file tools*
The moose likes XML and Related Technologies and the fly likes Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api" Watch "Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api" New topic
Author

Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api

Grace Green
Ranch Hand

Joined: Nov 08, 2010
Posts: 72
I made some twicks to a java class that uses the OfficeOpenXML API to create excel files, and now before opening the excel file generated by it< i get
"Excel found unreadable content in 'filename.xlsx'. Do you want to recover the content of this workbook ? If you trust the source of this workbook, click Yes."


So, I click yes and I do open the excel which looks correct, but I also can open the error.xml file which contains:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error042880_02.xml</logFileName>
<summary>Errors were detected in file 'C:\.....\Microsoft\Windows\Temporary Internet Files\Content.IE5\EP6587HI\DMLSS_WRM_INFO_20110409102002[1].xlsx'</summary>
- <repairedRecords summary="Following is a list of repairs:">
<repairedRecord>Repaired Records: Cell information from /xl/worksheets/sheet1.xml part</repairedRecord>
</repairedRecords>
</recoveryLog>

I have no idea where to start debugging. THe code that generates the excel runs smoothly, and the excel file itself looks correct.
But why this error ?

THanks,

Grazia
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api