无法在Web服务器上启动调试。启动的URL的IIS工作进程当前未运行 [英] Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running

查看:667
本文介绍了无法在Web服务器上启动调试。启动的URL的IIS工作进程当前未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2010中有一个网站(不是解决方案)类型的项目。
我也将此文件夹配置为IIS7中的网站。当我导航到 http://myproject.local 时,我可以浏览我的网站。

I have a web site (not a solution) type project in VS2010. I also have this folder configured as a web site in IIS7. I can browse to my site fine when I navigate to http://myproject.local

这证明IIS正在为网站提供服务。

This proves IIS is serving the site ok.

现在当我尝试从VS2010运行项目以便我可以调试时,我收到以下错误:

Now when I try and run the project from VS2010 so I can debug, I get the following error:

无法在Web服务器上启动调试。启动的URL的IIS工作进程当前未运行。

我将网站属性设置为在正确的URL调用自定义服务器(IIS) 。
Visual Studio暗示启动的URL的IIS工作进程没有运行的原因是什么,显然IIS是服务器站点。

I have the site properties set to invoke the custom server (IIS) at the correct URL. What is the reason for Visual Studio implying that the IIS work process for the launched URL is not running, when clearly IIS is server the site.

推荐答案

我设法使用以下方法解决问题:

I managed to solve the problem using the following:


  • 任务管理器 - >删除IIS进程(es)(停止管理器中的IIS无效)

  • Task Manager -> delete IIS process(es) (stopping IIS in the manager didn't work)

进入IIS管理器

这篇关于无法在Web服务器上启动调试。启动的URL的IIS工作进程当前未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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