Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 08, 2008 01:18 PM by joteke
Jul 07, 2008 04:23 PM|LINK
I would like, as the title says, to restart the IIS 5 or 6 from an asp.net 2.0 page using a script or vb.net code,
or any other way as long as it is done from an asp.net 2.0 page.
Please tell me how I can acheive this.
Jul 07, 2008 05:14 PM|LINK
Or do you need full IIS reset? In that case, trying with Windows Script Host etc and running iisreset is one option, just note that it needs probably higher privileges and can be quite unwelcome if it is used maliciously.
Jul 07, 2008 06:06 PM|LINK
Hi joteke and thank you for your quick reply.
Actually, I don't need to fully restart the IIS. As I gather, application pools were only introduced in IIS 6 and does not exist in IIS 5, but please correct me if I am wrong.
Would you be so kind as to explain what an application pool is and how I retrieve my application pool name from IIS ?
Jul 08, 2008 01:18 PM|LINK
In IIS 6.0, application pools are used to separate applications to be served by different worker processes, and certain settings can be specified per-application-pool basis. Some explanation with screenshots: