What is the worker process for IIS7?

北城余情 提交于 2020-01-01 23:21:10

问题


I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help.


回答1:


Indeed it is still w3wp.exe - You'll need to check the 'Show processes in all sessions' option to get it to show up though.

(It caught me out for a while too.)




回答2:


Isn't it w3wp.exe?




回答3:


Here's a useful article for identifying w3wp processes, if you're running more than one.

For IIS 6.0

  • Start > Run > Cmd
  • Go To Windows > System32
  • Run cscript iisapp.vbs
  • You will get the list of Running Worker ProcessID and the Application Pool Name.

From IIS 7.0 you need you to run IIS Command Tool ( appcmd ) .

  • Start > Run > Cmd
  • Go To Windows > System32 > Inetsrv
  • Run appcmd list wp


来源:https://stackoverflow.com/questions/60918/what-is-the-worker-process-for-iis7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!