开始运行vs2005了,可是当F5或Ctrl+F5时,出现" Asp.Net development server failed to start listening on port ****",,然后跳出警告框" Error Unable to connect to Visual Stutio's localhost web server",在网上找了很多资料,里面主要的解决方案是:
Does the file webdev.webserver.exe exist in C:\Windows\Microsoft.NET\Framework\v2.0.xxxxx? Is IE your default browser? Make sure in Internet Explorer, Tools | Internet Options, Connections tab, LAN Settings, that you have 'bypass proxy server for local addresses' checked if you are using a proxy server. If Windows Firewall is running check Windows Firewall settings. Turn ON the option on the Exceptions tab to "receive notifications when Firewall is running". It's possible Firewall is blocking webdev.webserver.exe What happens when you press Ctrl+F5 instead of F5 to run the site? Ctrl+F5 is 'Run Without Debugging' What do you see in your browser when you type the address http://localhost:80 ?
然后根据上面的提示出现的各种解决办法。可是我一个都没有找到。
到后来发现原来的.net Framework2.0版本太低了,重新安装一下.net Framework2.0解决不了问题,只能重新建立一个解决方案了。在把以前的项目添加过来,在运行的话就不会出现任何问题了。不过这样好麻烦,到现在还没有找到一个简单的解决办法。