1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

javascript error : stop running this script in IE

Discussion in 'JavaScript and AJAX' started by sakthi.abdullah, Aug 1, 2007.

  1. sakthi.abdullah

    sakthi.abdullah New Member

    When I load a web-page I am encountering this javascript error:

    "Stop running this script.A script on this page is causing internet explorer to run slowly"

    Is there a way to bypass this error by adjusting IE settings??
  2. shabbir

    shabbir Administrator Staff Member

    I never get that. Is this for some particular web page.
  3. sakthi.abdullah

    sakthi.abdullah New Member

    I got it ...

    Actually this 'll occur if u have large amount of statements to execute (in my case .javascript)

    You have to make some adjustments in registry!

    1. Using a Registry Editor such as Regedt32.exe,
    open this key:HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Styles

    Note If the Styles key is not present, create a new key that is called Styles.

    2. Create a new DWORD value called "MaxScriptStatements" under this key
    and set the value to the desired number of script statements.

    By default the key doesn't exist. If the key has not been added,
    Internet Explorer 4 defaults to 5,000,000 statements executed
    as the trigger for the time-out dialog box.

    Because the Internet Explorer 4.0, 5.0, 6, and 7 time-out is based on the number of
    script statements executed, the time-out dialog box will not display during ActiveX control
    or database-access delays. Endless loops in script will still be detected.
  4. crprawin

    crprawin New Member


    Even if I follow the steps in advanced tab in Tools menu,I get the popup.
    I use the infragistics to find the value from a grid where in the value is not present.
    I have handled a script where the text is not found.
    But soon after the 'Text not found' popup,I am getting this weird popup namely
    'Stop running this script?'.

    Please help where the code side solution can be done for this issue.:pleased:

Share This Page