harbar.net component based software & platform hygiene

Application Pool Manager F.A.Q.

Print | posted on Sunday, November 23, 2008 10:37 PM

This freeware application is a System Tray utility for providing quick access to common IIS tasks which are useful on a SharePoint development box. It may also be useful to others working with IIS. In essence, it enumerates the app pools on your box and lets you right click 'em to bounce 'em!


Question: Why do I need to run APM as an Administrator on Windows Vista or Windows Server 2008?
APM requires administrative privileges in order to enumerate and perform actions on Application Pools in addition to a number of other tasks such as determining the Process IDs of worker processes. Version 2 includes a UAC manifest which ensures you are prompted to run as administrator when UAC is used.


Question: Why does APM prevent logoff when using Remote Desktop to a Windows Server 2003 machine?
We have no idea (yet)!! This does not occur on Windows Server 2008 or Vista. It is probably something to do with the rework done in v2 to support both 2003 and 2008 in the same application. We are researching the problem and hope to have a fix soon. In the meantime, you must exit APM before you can log off in this scenario. You can see more progress on this issue over on CodePlex.


Question: Why are multiple Process IDs displayed following an App Pool recycle?
This is a known issue with the current version. Because the App Pool recycle activity is almost instantaneous on IIS7, the previous and current Process IDs are displayed. Choosing Refresh on the context menu will correct this. We are currently researching how to improve the UI without including a delay in processing. APM also supports display of multiple Process IDs for those using Web Gardens (not recommended with SharePoint), so we cannot simply display the last one. You can see more progress on this issue over on CodePlex


Question: Why do I receive a 401 Unauthorized message when performing a "Warm Up" after a recycle?
All URLs entered in the Warm Ups text box must be included in Internet Explorer's Intranet Zone or Trusted Zone (Intranet Zone is the recommended setting despite the legion of bogus documentation from Microsoft). If not, credentials will not be passed during the HTTP GET, and therefore applications set to use authentication will respond with a 401.1.


Question: How can I get more information on warnings or errors?
APM writes all warnings and errors to the Windows Application Event Log under a Source of "APM2".