调试Web应用程序时,启动OK。但是当我打到一个我称之为本机的Web服务的行时,我收到上面的错误。我看到有关添加useUnsafeHeaderParsing = false的内容,但是我的web.config没有一个sytem.net部分。
是否无法在应用程序开发服务器上同时服务Web服务和Web应用程序?我需要正确配置才能使用IIS7吗?作为一个长期的IIS6用户,只是看着它使我的头旋转…虽然,我有网站和网络服务设置在其中,我相当确定它一次工作。有爱
解决方法
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”.