加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 为什么在调试我的Web应用程序时得到“服务器提交了一

发布时间:2020-12-16 00:24:24 所属栏目:asp.Net 来源:网络整理
导读:我有一个.NET 1.1解决方案,其中所有项目都升级到.NET 4.0(VS2010,Windows 7)。为了让我的“无法启动Web服务器上的调试”问题,我将Web应用程序属性切换为使用VS Development Server而不是IIS。 调试Web应用程序时,启动OK。但是当我打到一个我称之为本机的
我有一个.NET 1.1解决方案,其中所有项目都升级到.NET 4.0(VS2010,Windows 7)。为了让我的“无法启动Web服务器上的调试”问题,我将Web应用程序属性切换为使用VS Development Server而不是IIS。

调试Web应用程序时,启动OK。但是当我打到一个我称之为本机的Web服务的行时,我收到上面的错误。我看到有关添加useUnsafeHeaderParsing = false的内容,但是我的web.config没有一个sytem.net部分。

是否无法在应用程序开发服务器上同时服务Web服务和Web应用程序?我需要正确配置才能使用IIS7吗?作为一个长期的IIS6用户,只是看着它使我的头旋转…虽然,我有网站和网络服务设置在其中,我相当确定它一次工作。有爱

解决方法

这对我有用:下面的文本是从 This CodePlex Post开始的

This error usually occurs when you have set up Visual Studio to debug
an existing web application running in IIS rather than the built in
ASP.NET debug web server. IIS by default listens for web requests on
port 80. In this case,another application is already listening for
requests on port 80. Typically,the offending application is Skype,
which by default takes over listening on ports 80 and 443 when
installed. Skype is already occupy the port 80. So IIS is unable to
start.

To resolve the issue follow the steps:
– Skype -> Tools -> Options -> Advanced -> Connection:
– Uncheck “Use port 80 and 443 as alternatives for incoming connections”.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读