restart AppPool by code or script
restart AppPool by code or script
am 03.10.2007 14:00:03 von AlhambraEidosKiquenet
Hi misters,
I know the name of AppPool in an web server (Win 2003 server) and I want
restart AppPool by code or script.
Does anyone know how to restart (or recycle) a web application pool
(AppPool)in IIS with C# code AND/OR script VBS (WSH) AND/OR BAT file in IIS
6.0 / IIS 7.0 ?
Any help will be very grateful ??
Thanks in advance, best regards
PD: is it possible too make an AppPool in IIS ??
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
www.trabajobasura.com/solusoft
Re: restart AppPool by code or script
am 03.10.2007 21:21:43 von Kristofer Gafvert
Hi!
This article shows you some scripts:
http://blogs.iis.net/chrisad/archive/2006/08/30/Recycling-Ap plication-Pools-using-WMI-in-IIS-6.0.aspx
I don't understand your question "is it possible to make an AppPool in
IIS". Do you want to create an application pool using a script?
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Alhambra Eidos Kiquenet wrote:
>
>Hi misters,
>
>I know the name of AppPool in an web server (Win 2003 server) and I want
>restart AppPool by code or script.
>
>Does anyone know how to restart (or recycle) a web application pool
>(AppPool)in IIS with C# code AND/OR script VBS (WSH) AND/OR BAT file in IIS
>6.0 / IIS 7.0 ?
>
>Any help will be very grateful ??
>
>Thanks in advance, best regards
>
>PD: is it possible too make an AppPool in IIS ??
Re: restart AppPool by code or script
am 04.10.2007 08:55:01 von AlhambraEidosKiquenet
Thanks, mister,
yes, sorry my english, my question is about how create an AppPool using a
script vbs or bat ?
Regards.
"Kristofer Gafvert" wrote:
> I don't understand your question "is it possible to make an AppPool in
> IIS". Do you want to create an application pool using a script?
>
Re: restart AppPool by code or script
am 04.10.2007 12:35:11 von David Wang
On Oct 3, 11:55 pm, Alhambra Eidos Kiquenet
wrote:
> Thanks, mister,
>
> yes, sorry my english, my question is about how create an AppPool using a
> script vbs or bat ?
>
> Regards.
>
>
>
> "Kristofer Gafvert" wrote:
> > I don't understand your question "is it possible to make an AppPool in
> > IIS". Do you want to create an application pool using a script?- Hide quoted text -
>
> - Show quoted text -
CSCRIPT.EXE %SYSTEMDRIVE%\inetpub\AdminScripts\ADSUTIL.VBS CREATE
W3SVC/AppPools/MyAppPoolName IIsApplicationPool
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//