Can you send the snippet of code that shows how you are creating/saving the 
workbook?

Thanks,

Jon





________________________________
From: snelligan <[email protected]>
To: [email protected]
Sent: Mon, June 20, 2011 7:55:23 AM
Subject: Problem creating an .xlsx file using POI and XSSF

When i try to create an .xlsx file using POI/XSSF it creates an .xlsx file,
but when excel tries to open it, I get the following Error:
"Excel found unreadable content in 'dkdkd.xlsx' do you want to recover the
contents of this workbook?  If you trust the source of this workbook, click
Yes."


When I click Yes I get a pop up which states "Repaired Records: Worksheet
properties from /xl/workbook.xml part (Workbook).

Log returns the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main";><logFileName>error031280_01.xml</logFileName><summary>Errors

were detected in file
'C:\WINDOWS\TEMP\snelliga-1.xlsx'</summary><repairedRecords
summary="Following is a list of repairs:"><repairedRecord>Repaired Records:
Worksheet properties from /xl/workbook.xml part
(Workbook)</repairedRecord></repairedRecords></recoveryLog>

Sorry if this is a duplicate, but looking through the mailing list, there
were several with this problem, but I could not find a solution.

I am using the following Jar files:
dom4j-1.6.1.jar
jdom.jar
log4j-1.2.9.jar
poi-3.7-20101029.jar
poi-examples-3.7-20101029.jar
poi-ooxml-3.7-20101029.jar
poi-ooxml-schemas-3.7-20101029.jar
poi-scratchpad-3.7-20101029.jar
xmlbeans-2.3.0.jar


This is the first time I have tried to program for POI.  The previous
programmer used HSSF in the application, but because of office 2010 I am
trying to update to XSSF.

Any help or direction would be appreciated.

-Steve Nelligan









--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Problem-creating-an-xlsx-file-using-POI-and-XSSF-tp4506461p4506461.html

Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to