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

Document Generation problems for users with non-ASCII usernames

SA-21390

Summary



When attempting to use the Create Merge Document feature from a machine where the Windows username contains non-ascii characters, a blank document is generated and errors are displayed.


Error Messages



1. SilverLight Control ERROR in 'ProcessHttpResponse': Failed to download rule. Waitcode: WORD_TEMPLATE_DOWNLOAD
2. SilverLight Control ERROR in 'LaunchWordFinally': 


Steps to Reproduce


1. Go to Designer studio. 
2. Open Case management gallery (via "Designer Studio / Process and Rules / Case Management / Gallery"). 
3. Launch "Create word document". 
4. Click "Preview" button. 
5. Click "Create Merge Document". 

Observe exception


Root Cause



A defect in Pegasystems’ code or rules:
Microsoft Templates registry key isn't being retrieved correctly when the registry value contains non-ASCII characters using RegRead function of WScript.shell.
For Unicode alternatives we need to use are RegOpenKeyEx, RegQueryValueEx and RegCloseKey functions from advapi32.dll.

Resolution



Apply HFix-25208

 

Published April 1, 2016 - 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