'An unexpected JavaScript error (Unterminated string constant)' when installing Key Recovery Manager
Originally Published: 2009-12-24
Article Number
Applies To
RSA Key Recovery Manager 6.8
Microsoft Internet Explorer
Issue
The following error shows in a pop up window after clicking Accept on license agreement page during browser phase of Key Recovery Manager (KRM) installation:
Message from webpage
An unexpected JavaScript error (Unterminated string constant) has occurred on line 299 of https://<hostname>:444/xpkrs/install/xpkrs-ca.xuda. Please contact technical support if the the problem persists.
<OK>
After clicking OK button on the JavaScript error pop-up window, 'Create Key Recovery CA' page comes up on the browser with no option to provide CA details (like CN, OU, etc); 'Signing Algorithm and Key Size' section shows properly with the option to choose hardware or software based crypto providers.
Cause
Note that ENROLL_ENROLLTEXT attribute of only the default jurisdiction (System Configuration workbench => Jurisdiction Defaults => Enrollment Interface => Main Enrollment Page) is used to customize message on the main enrollment page; this attribute is ignored for all other jurisdictions corresponding to CA's.
Resolution
Update each of the jurisdictions that contain multi-line text (include carriage return and/or new line characters) for 'Request Page Text' and add a backslash character '\' at the end of each line. '\' will translate to a continuous line in JavaScript. Since there is no option in jurisdiction configuration page (other than for Jurisdiction Defaults) to update ENROLL_ENROLLTEXT, listuclass utility can be used to modify this attribute; contact RSA Customer Support to get help with usage of listuclass tool.
Related Articles
Workflow Decision Node failing with "no enum constant" ERROR message in RSA Identity Governance & Lifecycle 51Number of Views No enum constant com.aveksa.server.report.Report.SaveAsType.XLS reported in RSA Identity Governance & Lifecycle 30Number of Views 'Request could not be handled' and 'No enum constant com.aveksa.server.core.DataCollector.Status.InActive' errors exportin… 162Number of Views RSA Authenticator for iOS and Android Administrator Guide - Mobile Lock 377Number of Views Authentication Methods for Cloud Access Service Users 573Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Release Notes for RSA Authentication Manager 8.8 RSA RADIUS Server service failed to start in the RSA Authentication Manager 8.1 Operations Console Microsoft Entra ID External MFA - Relying Party Configuration Using OIDC - RSA Ready Implementation Guide RSA Release Notes: Cloud Access Service and RSA Authenticators
Don't see what you're looking for?