Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Word document corrupted using the Application Document Wizard

SA-16150

Summary



Specification document produced by Application Document Wizard reported as corrupted if opened in Word 2010 application with French Language Pack installed.
The issue has been reported on the following version of Microsoft Word:
Microsoft Word 2010 (14.0.7113.5001) SP2 MSO (14.0.7106.5003) 
Document reported as corrupted can be opened successfully using different versions of Microsoft Word.


Error Messages



Opening the generated document will show the following message: "Impossible d'ouvrir le fichier. Le fichier est corrompu."
Word error message

Steps to Reproduce

  1. Generate a specification document using the Application Document Wizard in Pega 7.1.8.
  2. Open the document using the version of Word mentioned above. 


Root Cause



A defect in Pegasystems’ code or rules. 
From Pega 7.1.8 onwards the generation of Word documents is done Server-Side using the Java Library DOCX4J rather than client-side using the SilverLight control.
Documents generated in this way are produced using the Microsoft Open XML file format which is the standard format since Microsoft Word 2007. 
A document in this format use the ".docx" extension and is a ZIP file containing XML and other data files.
A document generated with the version of the DOCX4J library included in Pega 7.1.8 contains tag values, which are not accepted by Microsoft Word 2010 with the French Language Pack installed.


Resolution



Apply HFIX-24080 which updates the DOCX4J library and solve this issue.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us