Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Grace Green
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic