开发者

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

开发者 https://www.devze.com 2023-03-11 08:42 出处:网络
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, t开发者_如何学运维he deployed app is working fine in FF, but not in

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, t开发者_如何学运维he 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:

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

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'

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号