ASP.NET development server failed to start listening on port (dynamic port) & Error Unable to connec...

       昨天刚刚安装上MS SQL2005,由于vs2005的版本比较旧,在安装sql2005的时候必需要更换几个程序和组件,其中包括了.net Framework2.0,因为sql2005是一个中文版的,所以它里面要安装.net Framework2.0的语言包,可是当安装的时候会出现setup.exe出现错误,没有办法,在网上下载了一个.net Frameworr2.0的中文包,终于跳过了sql2005的一个安装程序,顺利地成功安装好了。
       开始运行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解决不了问题,只能重新建立一个解决方案了。在把以前的项目添加过来,在运行的话就不会出现任何问题了。不过这样好麻烦,到现在还没有找到一个简单的解决办法。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值