CA Gen: How to troubleshoot "Error on Page" problems.
search cancel

CA Gen: How to troubleshoot "Error on Page" problems.

book

Article ID: 59030

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction

In testing CA Gen Internet applications using Internet Explorer, the "Error on Page" may be displayed in the lower left side of the browser.

One example of an error is when one window flows to another window and the following error is displayed in the browser.

(Note: the "Error on Page" is displayed in the lower left corner of the browser)

Unterminated string constant in MAIN_MENU_CLT_menu.js line 212

What can be done in this situation?

Resolution

1. On the page with the error press F12 to start up debug.

2. Select the Script tab on the upper left part of the window.

3. On the toolbar below the tabs, you should see a dropdown that lists the open javascript files. Find the file you are interested in and select it. From the example in the Summary you would select MAIN_MENU_CLT_menu.js.

4.This will show you that javascript file in the editor with the line numbers on the left side. From the example in the Summary, scroll down to line 212 to find the code.