无法在Web服务器上启动调试.无法连接到网络服务器 [英] Unable to start debugging on the web server. Unable to connect to the webserver

查看:293
本文介绍了无法在Web服务器上启动调试.无法连接到网络服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 7 x32上运行Visual Studio 2008,IIS 7.5.我可以在IIS 7.5中运行ASP.NET网站,而无需进行调试,但是按F5调试时,我得到:

I am running Visual Studio 2008, IIS 7.5 on Windows 7 x32. I am able to run the ASP.NET web site in IIS 7.5 without debugging just fine, but when I press F5 to debug it, I get:

无法在Web服务器上开始调试.无法连接到网络服务器.确认Web服务器正在运行,并且传入的http请求没有被防火墙阻止.

推荐答案

VS中,右键单击您的Web项目->属性 转到网络"标签.

In VS, right click on your web project --> Properties Go to the Web tab.

确保选择了适当的单选按钮(使用VS Dev Server,使用本地IIS Web服务器等)

Make sure the appropriate radio button is selected (Use VS Dev Server, Use Local IIS Web Server, etc)

计算机死机后,我的价值有了改变.

另一种尝试:

administrative命令提示符下运行"iisreset"(基本上只是重新启动IIS服务)

run "iisreset" from an administrative command prompt (basically just restarts the IIS service)

这篇关于无法在Web服务器上启动调试.无法连接到网络服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆