简体   繁体   中英

ASP.NET MVC 3.0 deployed code not working in IE8 in IIS 7.5

I have an ASP.NET MVC 3 app. It is working fine in both IE8 & FF when we run VS2010. I have deployed this code in IIS 7.5. Now, the deployed app is working fine in FF, but not in IE8. I am getting error:

Stop running this script? A script on this page is causing Internet Explorer to run slowly...

See following screen-shot:

在此处输入图像描述

I tested the published code in IIS6, It's working fine in both FF and IE8.

Any help is appreciated.

You are probably using some javascript which is entering a loop of some sort (possibly recursion)

Either comment out one function at a time to see which function is the culprit, or do it in binary-search fashion and comment out half at a time to narrow it down.

Finally, is there something out of the ordinary about your page? If the your javascript (or one of your libraries) was not the culprit, start ripping out chunks of your code to narrow the problem down.

Unfortunately there is not a quick answer to this one...

There are various ways to try to determine what's going on with your JavaScript. Try reloading the browser. You can also try downloading the Ajax profiling bits at http://archive.msdn.microsoft.com/AjaxView This can help determine your slow functions. You could also load up the JavaScript debugger and break into the code as well What nonstandard javascript libraries are you running? Any?

Since your app runs differently seemingly only based on iis version differences compare a session on one to a session on the other using 'Fiddler'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM