Support Article
Long-running script error with IE 8 browser
SA-13787
Summary
A grid layout is used to display the data from the data table. The requirement is to sort the data based on alphabets. To facilitate this, a dropdown is created to select alphabets.
On change of this drop down, an activity to display the data in selected order is called. On selecting an option in the dropdown, a long-running script message window appears.
Error Messages
Stop running this script?
Steps to Reproduce
1. Create a grid layout to display the data from data table.
2. Provide an option to select the displaying order as dropdown (for example: A-E, E-G)
3. Create a activity on change of dropdown to display the data from the data table.
4. On change of the dropdown, a popup of IE script error with Yes or No buttons appears.
Root Cause
A defect or configuration issue in the operating environment.
In the most recent version of the Platform Support Guide (https://pdn.pega.com/documents/platform-support-guide) the following statement is added:
IE8 continues to work with Pega 7.1 with the caveat that IE8 is known to cause client-side performance issues when operating in Standards Mode. Some screens, especially grids and lists which display large amounts of data, may experience sub-optimal performance with IE8. We strongly recommend using another browser which does not have these performance issues, such as IE9, IE10, IE11, Chrome, Safari, or Firefox.
Microsoft is no longer updating IE8, and instead points customers to IE10 or IE11. Therefore, Pegasystems cannot address these client-side performance issues reported with IE8. Customers should consider carefully before using IE8 as the target browser with v7.1.
Resolution
As the performance issue occurs only for IE8 (and then for only some versions of IE8), please review the above statement as it applies to your environment.
This message you are encountering is not an error. It is a warning message unique to some Internet Explorer versions, and is triggered when the number of JavaScript executions exceeds a defined threshold with your loop syntax.
There are a few local changes available for this behavior:
- Click NO on the warning message. The script continues to execute but may again encounter the IE limitations.
- The threshold for the warning message can be updated (or switched off) through the MaxScriptStatements registry setting. Please refer the Microsoft KB 175500 article for full details.
- Use later versions of Internet Explorer, and other browsers (Firefox and Chrome) which do not display this message.
Published September 7, 2015 - 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.