[英]Cannot attach to w3wp process in VS 2022
I have web app running locally in IIS. App of Net Framework 4.7.2.我有 web 应用程序在 IIS 中本地运行。Net Framework 4.7.2 的应用程序。 When I tried "Attach to Process" for w3wp process in Visual studio I am unable to do so.当我尝试在 Visual Studio 中为 w3wp 进程“附加到进程”时,我无法这样做。 Visual Studio is running under Administrator account. Visual Studio 在管理员帐户下运行。 Things I tried:我尝试过的事情:
Things I noticed:我注意到的事情:
At this point I am out of ideas.在这一点上,我没有想法。 Any help would greatly appreciated任何帮助将不胜感激
UPDATE.更新。 I noticed, when I turn on 32bit applications on app pool in IIS I am getting following error in Event Viewer: "The description for Event ID 0 from source .NET Runtime cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer."我注意到,当我在 IIS 中打开应用程序池上的 32 位应用程序时,我在事件查看器中收到以下错误:“无法找到来自源 .NET 运行时的事件 ID 0 的描述。引发此事件的组件未安装在您的本地计算机或安装已损坏。您可以在本地计算机上安装或修复该组件。”
Turned out corrupted Avecto installation was the culprit.原来损坏的 Avecto 安装是罪魁祸首。 Reinstalling offending software resolved the issue.重新安装有问题的软件解决了这个问题。 Live and learn.活到老,学到老。 At least I lived.:)至少我还活着。:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.