Permission Denied Error
Kill IIS Process without Rebooting
So you've written some ASP code and you go to test it for the first time and you're in an endless loop situation. You try to stop the IIS Service, and it fails with Permission Denied. Only way out is to reboot?
Not neccessarily. There is a tool from Microsoft, that is installed when installing IIS, called IISReset which is located in the %windir%\system32\ folder. It can be run from the command line, and takes parameters.
Usage: iisreset [computername] /switches
||Stop and then restart all Internet services.
||Start all Internet services.
||Stop all Internet services.
||Reboot the computer.
||Reboot the computer if an error occurs when starting,stopping, or restarting Internet services.
||Do not forcefully terminate Internet services if attempting to stop them gracefully fails.
||Specify the timeout value ( in seconds ) to wait for a successful stop of Internet services. On expiration of this timeout the computer can be rebooted if the /REBOOTONERROR parameter is specified. The default value is 20s for restart, 60s for stop, and 0s for reboot.
||Display the status of all Internet services.
||Enable restarting of Internet Services on the local system.
||Disable restarting of Internet Services on the local system.
Back | Tell A Friend | Search this Site
© 1998 - 2014 psacake.com
Send me One Million FREE Guaranteed Visitors