Restart App Pool from ASP.NET via WMI Problems
问题 I've been trying to create a C# ASP.NET page which sits on a Windows Server 2003 IIS 6 server and when called (remotely), restarts/recycles a specific application pool on the server. I've not been having much luck, does anyone know where I'm going wrong? I've tried many combinations and tried running direct from server but to no-avail. When I don't pass the credentials over I get the error... Access is denied ...and when I do pass them I get the error... User credentials cannot be used for