Try recycle IIS App Pool
http://nantcontrib.sourceforge.net/release/latest/help/tasks/iisapppool.
html


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Frederick
Sent: Tuesday, September 11, 2007 6:55 PM
To: nant
Subject: [NAnt-users] Web project deploys

Hello,

I have web project deploys written in NAnt.  They are fairly simple
UNZips from an archive file to a virtual directory.

Occasionally, these "copies" fail because IIS has a file open due to
someone accessing a specific web page.  What is a good practice for
performing this operation without copy failures?  I thought about
stopping/starting IIS, but we have so much other stuff running there
that that option is unworkable.

I know about the mkiisdir task; do you *really* completely
delete/recreate the IIS virtual directory with each deployment?  Can you
delete the virtual directory when someone has a web page open?  I guess
this would make sense if you consider the exact configuration of the IIS
virtual directory a part of the deployment "packaging".

Any advice welcome.  TIA.

--
Mike Frederick
[EMAIL PROTECTED]


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to