VSeWSS“附加到 IIS 工作进程” 变灰
这是来自 msdn 论坛 没有得到好的结果。
在 VS 2008 上的 VSeWSS 1.3 中,“附加到 IIS 工作进程”似乎始终呈灰色(构建 -> 快速部署解决方案)。
这迫使我从命令行运行 iisapp,记下 w3wp 进程的 PID,在 VS 中按 Ctrl-Alt-P 打开“附加到进程”对话框,按 PID 排序,找到我之前获得的 PID,然后单击“确定” 。
我缺少什么?
This is a repost from the msdn forums that got no good results.
In VSeWSS 1.3 on VS 2008, the "Attach to IIS Worker Processes" seems to always be grayed out (Build -> Quick Deploy Solution).
This forces me to run iisapp from the command line, note the PID of my w3wp process, hit Ctrl-Alt-P in VS to bring up the Attach to Process dialog, sort by PID, locate the PID i obtained earlier, and hit ok.
What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为了使“附加到工作进程”不灰显,我必须在解决方案资源管理器中选择项目节点。 (这是此解决方案中的唯一项目。)如果我选择子文件夹或文件,该选项将灰显。
In order to get the "Attach to worker process" to not be grayed out, I have to select the project node in solution explorer. (This is the only project in this solution.) If I select a sub-folder or file the option is grayed out.
出于某种原因,当我运行多个 w3wp 实例时,我遇到了同样的问题(如果您在单独的应用程序池中托管 Central Admin 和 SSP,显然会出现这种情况。)我建议关闭所有 w3wp 进程没有执行您尝试调试的代码; 关闭VS,重置IIS,打开VS,然后重试。
For some reason, I run into the same issue when I have multiple instances of w3wp running (which is obviously going to be the case if you are hosting Central Admin and your SSP in seperate app pools.) I recommend just closing all w3wp processes that aren't executing the code you are attempting to debug; close VS, reset IIS, open VS and try again.