'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
An unexpected JavaScript error ('remoteCAs[...].catype' is null or not an object) has occurred in RSA Registration Manager 58Number of Views The License/serial number being installed does not match the license/serial number stored on the server when installing an… 2.73KNumber of Views RRM getting 'unexpected Javascript error' when access Administrator Operations 35Number of Views RSA Authentication Manager 8.8 upgrade fails with ERROR: auth_manager.rest_service.old_access_key is not found 1.91KNumber of Views Getting 'Unexpected JavaScript errors' on RM's administrative interface after synchronizing jurisdiction 17Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records Unable to login to RSA Authentication Manager Security Console as super admin RSA Authentication Manager 8.9 Release Notes (January 2026) How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Connection fails to Cloud Authentication Service when connecting through a proxy server from RSA Authentication Manager to…
Don't see what you're looking for?