Debugging Visual Studio 2010/IE 8 - Unable to start program - Element not found

旧巷老猫 提交于 2019-12-12 18:35:08

问题


When trying to debug an MVC2 app in VS2010 using IE 8, I sometimes get the following error (port number changes).

Unable to Start program 'http://localhost:55853/' Element not found

It is really difficult to find the problem as it seems to be totally random. Has anyone else come across this problem?


回答1:


Tools > Internet Options > Advanced Under the Browsing Section --- Uncheck the "Disable Script Debugging (Internet Explorer)




回答2:


if you had to add the DWORD TabProcGrowth to your registry in order to debug in VS2005 using IE8, you will need to delete that DWORD in order to debug in VS2010 using IE8.




回答3:


you can turn of dynamic port in project setting. By doing that, you can prevent starting multiple instance of asp.net developer server.




回答4:


Disable automatic crash recovery in IE via 'Internet Options' -> 'Advanced' -> 'Browsing'.



来源:https://stackoverflow.com/questions/3655233/debugging-visual-studio-2010-ie-8-unable-to-start-program-element-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!