无法远程调试IIS - w3wp.exe显示为灰色 [英] Cannot remote debug IIS -- w3wp.exe is grayed out

查看:247
本文介绍了无法远程调试IIS - w3wp.exe显示为灰色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用远程调试来调试IIS Web服务。由于我们的域配置(我们无法更改),我通过默认选项进行远程调试时会拒绝访问。我发现的唯一解决方案是在VS 2008中切换到Remote(仅限本机,无需身份验证)选项。

I am trying to debug an IIS Web Service using remote debugging. Because of our domain configuration (which we CANNOT change) I get an Access is denied when remote debugging via the Default option. The only solution I've found is to switch to Remote (Native only with no authentication) option in VS 2008.

问题是当我连接到远程系统时w3wp.exe是灰色的,奇怪的是它是列表中唯一的一个。这与遥控选择有关吗?有没有办法解决这个问题?

The problem is that when I connect to the remote system the w3wp.exe is grayed out and oddly enough it's the only one in the list that is. Does this have to do with the Remote choice? Is there a way around this?

推荐答案

我实际上解决了我的问题。 w3wp.exe显示为灰色,因为我在服务器计算机上安装了Debug Diagnostics Tool并将其设置为跟踪IIS崩溃。即使程序没有运行,它仍然有标记调试过程(这可能是完全错误的假设)。删除标记后,我可以附加到该过程。

I actually solved mine problem. The w3wp.exe was grayed out because I had installed Debug Diagnostics Tool on the server machine and set it up to follow IIS for crashed. Even though the program was not running it still had the "marked" the process for debugging (This might be totally wrong assumption). After removing the "markers" I could attach to the process.

因此,如果某些内容已经自行附加到该过程,请检查您的服务/程序。无法解决根本无法调试托管代码的问题。

So check out your services/programs if something is already attatched it self to the process. Does not solve the problem of not beeing able to debug managed code at all.

这篇关于无法远程调试IIS - w3wp.exe显示为灰色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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