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

Silverlight Control error generating document with Word Merge



When you use the built-in Word Merge feature to generate the Word document, the Silverlight Control error occurs.

Error Messages

“Silverlight Control ERROR in 'ProcessHttpResponse': Failed to download rule. Waitcode: WORD_TEMPLATE_DOWNLOAD”

Steps to Reproduce

  1. On click of a button, the Word document generation HTML section is called.
  2. This in turn calls the Silverlight component embedded in the PRPC engine.
  3. The Silverlight component opens the corresponding Word document through the following error message:
“Silverlight Control ERROR in 'ProcessHttpResponse': Failed to download rule. Wait code: WORD_TEMPLATE_DOWNLOAD”

Root Cause

The Issue is generally caused because the Silverlight Word Merge functionality expects an XML element with the required parameters to accomplish its task(word template, PRPC server url, Pega-Rules cookie).

The reason it fails is the missing pyClassName: In this context, pyClassName is populated using pyWorkPage.pxObjClass property with the help of @baseclass * WordManager_Settings Generic XML Stream rule.

The flow for Word Merge functionality is used further internally to identify the Word template in @baseclass.WBGetRuleXmlWithKeys activity.


Make sure that the corresponding WordTemplate rule is in the class from where you are running the Silverlight Word Merge, so that the pyClassName parameter that is passed is correct..

Published September 30, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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