Prevent 'Stop running this script' message in IE

In my ASP .Net web application which uses Ajax Toolkit, while loading a heavy page, browser will always display 'Stop running this script' message box to the end user.

In my case this particular page is used by a single user, so I just want to hide the above message for that particular user in his client machine. To resolve this issue, you just need to run the below installation file from Microsoft. To fix this problem automatically, click the Fix it button or link. Click Run in the File Download dialog box, and follow the steps in the Fix it wizard.

If you don't want to run the above msi file, follow below steps to resolve it. To resolve this issue, you should edit the registry values, it is always better to take a back up of registry before you do this.
  1. Using a Registry Editor such as Regedt32.exe, open this key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\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. If you are unsure of what value you need to set this to, you can set it to a DWORD value of 0xFFFFFFFF to completely avoid the dialog.
    Note: By default the key doesn't exist. If the key has not been added, the default threshold limit for the time-out dialog box is 5,000,000 statements for Internet Explorer 4 and later.
But the above solution is not practical if the page can be viewed from many users from various location. In this case you have to breaks up expensive operations into small chunks. Please follow below url. 


Popular posts from this blog

മലയാളത്തില്‍ മൊത്തം എത്ര അക്ഷരങ്ങള്‍ ഉണ്ട്?

Convert Number To Words in SQL Sever

Crystal reports load report failed: Could not load file or assembly CrystalDecisions.Web, Version=10.2.3600.0