w3wp.exe是什么?

发布于 2024-12-10 12:36:16 字数 370 浏览 3 评论 0原文

我有一个 WCF 服务在本地系统上的服务用户下运行。每次我尝试调试时,它都会给我一条消息附加安全警告

在 Visual Studio 中,默认情况下(即使没有附加),我收到此错误:

附加到此进程可能会损害您的计算机。如果 以下信息看起来可疑或您不确定,请勿附加 这个过程

名称:C:\Windows\System32\inetsrv\w3wp.exe

w3wp.exe 是什么?根据Google搜索,我认为与IIS有关。但它有什么作用呢?应该更改什么设置,以便每次我尝试在本地系统上调试时都不会给出此消息?

I have a WCF service running under a service user on my local system. Every time I try to debug it is giving me a message Attach Security warning.

In Visual Studio, by default (even without attaching), I get this error:

Attaching to this process can potentially harm your computer. If the
information below looks suspicious or you are unsure, do not attach to
this process

Name: C:\Windows\System32\inetsrv\w3wp.exe

What is w3wp.exe? According to a Google search, I think it is related to IIS. But what does it do? What setting should be changed so that this won't give this message everytime I try to debug on my local system?

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

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

发布评论

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

评论(4

奢望 2024-12-17 12:36:16

Internet 信息服务 (IIS) 工作进程是一个 Windows
运行Web应用程序的进程(w3wp.exe),并负责
处理发送到特定应用程序的 Web 服务器的请求
池。

它是 IIS 的工作进程。每个应用程序池至少创建一个 w3wp.exe 实例,这才是实际处理应用程序中的请求的实例。附加到此消息并不危险,这只是一个标准的 Windows 消息。

An Internet Information Services (IIS) worker process is a windows
process (w3wp.exe) which runs Web applications, and is responsible for
handling requests sent to a Web Server for a specific application
pool.

It is the worker process for IIS. Each application pool creates at least one instance of w3wp.exe and that is what actually processes requests in your application. It is not dangerous to attach to this, that is just a standard windows message.

北城挽邺 2024-12-17 12:36:16

Chris 几乎概括了 w3wp 是什么。要禁用警告,请转到此注册表项:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger

并将值 DisableAttachSecurityWarning 设置为 1。

Chris pretty much sums up what w3wp is. In order to disable the warning, go to this registry key:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger

And set the value DisableAttachSecurityWarning to 1.

雨巷深深 2024-12-17 12:36:16
  • 工作进程作为名为 W3wp.exe 的可执行文件运行
  • 工作进程是用户模式代码,其作用是处理请求,
    例如处理返回静态页面的请求。

  • 工作进程由www服务控制。

  • 工作进程还运行应用程序代码,例如 ASP .NET
    应用程序和 XML Web 服务。

  • 当应用程序池收到请求时,它只是简单地传递请求
    到工作进程(w3wp.exe)。工作进程“w3wp.exe”查找
    请求的 URL,以便加载正确的 ISAPI 扩展。
    ISAPI 扩展是 IIS 处理不同请求的方式
    资源。一旦安装了 ASP.NET,它就会安装自己的 ISAPI
    扩展名(aspnet_isapi.dll)并将映射添加到 IIS 中。

  • 当工作进程加载 aspnet_isapi.dll 时,它会启动一个
    HTTPRuntime,它是应用程序的入口点。 HTTP运行时
    是一个调用ProcessRequest方法来启动Processing的类。

更多详情请参阅网址
http://aspnetnova.blogspot.in/2011 /12/how-iis-process-for-aspnet-requests.html在此处输入图像描述

  • A worker process runs as an executables file named W3wp.exe
  • A Worker Process is user mode code whose role is to process requests,
    such as processing requests to return a static page.

  • The worker process is controlled by the www service.

  • worker processes also run application code, Such as ASP .NET
    applications and XML web Services.

  • When Application pool receive the request, it simply pass the request
    to worker process (w3wp.exe) . The worker process“w3wp.exe” looks up
    the URL of the request in order to load the correct ISAPI extension.
    ISAPI extensions are the IIS way to handle requests for different
    resources. Once ASP.NET is installed, it installs its own ISAPI
    extension (aspnet_isapi.dll)and adds the mapping into IIS.

  • When Worker process loads the aspnet_isapi.dll, it start an
    HTTPRuntime, which is the entry point of an application. HTTPRuntime
    is a class which calls the ProcessRequest method to start Processing.

For more detail refer URL
http://aspnetnova.blogspot.in/2011/12/how-iis-process-for-aspnet-requests.htmlenter image description here

摇划花蜜的午后 2024-12-17 12:36:16

w3wp.exe 是与 IIS 中的应用程序池关联的进程。如果您有多个应用程序池,则将运行多个 w3wp.exe 实例。此过程通常会分配大量资源。它对于计算机的稳定和安全运行非常重要,不应终止。

您可以在此处 http://www.processlibrary 获取有关 w3wp.exe 的更多信息

。 com/en/directory/files/w3wp/25761/

w3wp.exe is a process associated with the application pool in IIS. If you have more than one application pool, you will have more than one instance of w3wp.exe running. This process usually allocates large amounts of resources. It is important for the stable and secure running of your computer and should not be terminated.

You can get more information on w3wp.exe here

http://www.processlibrary.com/en/directory/files/w3wp/25761/

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