w3wp.exe是什么?
我有一个 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 processName: 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
它是 IIS 的工作进程。每个应用程序池至少创建一个
w3wp.exe
实例,这才是实际处理应用程序中的请求的实例。附加到此消息并不危险,这只是一个标准的 Windows 消息。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.Chris 几乎概括了 w3wp 是什么。要禁用警告,请转到此注册表项:
并将值
DisableAttachSecurityWarning
设置为 1。Chris pretty much sums up what w3wp is. In order to disable the warning, go to this registry key:
And set the value
DisableAttachSecurityWarning
to 1.工作进程是用户模式代码,其作用是处理请求,
例如处理返回静态页面的请求。
工作进程由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 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.html
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/