Currently, the IIS Server must have "IIS 6 WMI Compatibility" set for the IISAppPoolHandler to work. Look into using IIS7 Management API (ServerManager.OpenRemote)
https://stackoverflow.com/questions/2723425/check-status-application-pool-iis7-with-csharp-access-denied
Currently, the IIS Server must have "IIS 6 WMI Compatibility" set for the IISAppPoolHandler to work. Look into using IIS7 Management API (ServerManager.OpenRemote)
https://stackoverflow.com/questions/2723425/check-status-application-pool-iis7-with-csharp-access-denied