问题
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