FYI: You shouldn't use "world wide web publsihings service" because it
doesn't exist in localized windows versions (Polish for example). You should
use w3svc which doesn't change.

There are 3 ways to reset iis:

net stop w3svc
net start w3svc

or

net stop iisadmin /y (will stop all IIS services - this is sometimes
required)
net start w3svc

or

iisreset.exe

Jarek

----- Original Message ----- 
From: "Soumitra Bajpai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 10:58 AM
Subject: [nant-dev] IIS Task


> Dear All,
>
>
> First of all this might already be present .So if anyone is already
working
> on the task ,please ignore this.
>
>
> Aim
>
> I was thinking of writing a IIS Task. The functionality of the task is to
> start and a stop the IIS . This task will come in handy while building
since
> many a times the IIS holds the executables in memory .
>
>
> IIS Task
>
> The IIS Task will execute ,these commands
>
> net start  "world wide web publishing service"
> net stop "world wide web publishing service"
>
> so actually speaking the "net" task functionality is being used . My
> confusion is should I simply make an IIS Task
>
> <iis action="start"/>
> <iis action="stop"/>
>
> or should  make it more generic
>
> <net name="world wide web publishing service"
> action="start">
> <net name="world wide web publishing service"
> action="stop">
>
>
> Please let me know what you guys think .
>
>
> Thanks & Warm Regards,
>
> Soumitra Bajpai
> Microsoft Technologies,
> Systems Analyst
> LG  Software
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to