无法远程调试 IIS - w3wp.exe 呈灰色

发布于 2024-08-01 14:38:33 字数 223 浏览 7 评论 0原文

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

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

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.

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

国际总奸 2024-08-08 14:38:33

我实际上解决了我的问题。 w3wp.exe 呈灰色显示,因为我在服务器计算机上安装了调试诊断工具,并将其设置为跟随 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.

清醇 2024-08-08 14:38:33

当您切换到“仅本机,无需身份验证”模式时,您明确表示您只想调试“本机”即 Win32 代码,而不是 .net 代码。 不幸的是,据我所知,没有办法解决这个问题(我已经尝试过!:()。

When you switch to "Native only with no authentication" mode, you're explicitly saying that you only want to debug "native" i.e. Win32 code, rather than .net code. There is, unfortunately as far as I'm aware, no way around this (I've tried! :().

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文