Recently I needed to investigate the IIS process on a website because of strange shutdown behaviors. There are many ways to dig into the IIS process but on a hosted environment it can be a little hard since you don’t have access to the IIS.

I went on a quick search and found a nice article by Scott Mitchell about hooking into the IIS process from ASP.NET. It lists the shutdown reasons and memory consumption and other useful details about the IIS process. So I took the example by Scott and rewrote it into a simple .aspx page that can be dropped into any ASP.NET website running on the IIS.

It has no code-behind because I wanted it to be easily distributable. Remember that it only works on websites running on the IIS so you cannot run it from within the Visual Studio 2005 web server. Download it below and try it on your own website.

ProcessInfo.zip (801 bytes)

Comments


Comments are closed