问题描述
我最近开始收到此消息。
I have recently started to received this message.
Unable to start debugging on the web server.
The IIS worker process for the launched URL is not currently running
有谁知道这是什么是什么意思?
Does anyone know what this means?
我通过项目中的Properties创建了我的虚拟目录,然后单击Create Virtual Directory。在IIS中我可以看到它,我使用Admin Privs运行VS 2010.
I created my virtual directory via Properties on the project, and clicking Create Virtual Directory. ANd in IIS I can see it, I run VS 2010 with Admin Privs.
.Net 4.0中的应用程序池
The Application pool in .Net 4.0
任何帮助非常感谢
谢谢
编辑
我设法让它正常工作,但确实是一个很好的解决方法。基本上还有另一个网站设置,即默认网站,我的所有应用程序都已启动并运行。
I managed to get it working but its a good workaround really. Basically there was another website setup i.e. Default Website where all my apps goes which was started and running.
还有另一个网站(已停止!),用于installanywhere ..但它被停止了! ...我完全删除了网站,现在它可以正常工作
And there was another website (which was stopped!) that was for installanywhere.. But it was stopped! ... I removed the site completely and now it works
可以vs 2010不知道要连接哪个或什么?
Can vs 2010 not figure out which one to connect to or something?
我认为如果它停止了就不会尝试连接..
I presumed if its stopped then it wouldn't try and connect..
很困惑,有人知道替代工作?
Very confused, Anybody know of alternative work around?
推荐答案
重新安装VS2010后,我收到了同样的错误信息。在我的情况下,IIS中的所有应用程序池都重新映射为4.0,因此VS2010无法确定在调试期间将自己附加到哪个池。在我的情况下,解决方案是手动删除几个池并将我的旧池重新映射回.net 2.0。我终于结束了,只有2个池指向.net 4.0(集成和经典)和2个池运行.net 2.0(集成和经典)。
I got the same error message after reinstalling VS2010. In my case all application pools in the IIS where remapped to run 4.0, so VS2010 was unable to figure out which pool to attach its self to during debugging. The solution in my case, was to manually delete few pools and remapping my older pools back to .net 2.0. I finally ended up, only having 2 pools pointing towards .net 4.0 (integrated and classic) and 2 pools running .net 2.0 (integrated and classic).
这篇关于VS 2010 + IIS:无法在Web服务器上启动调试。启动的URL的IIS工作进程当前未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!