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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.