I am having problems getting the <mkiisdir> task to work consistently for
me.  It works if I run the build file directly from the machine, but when I
try to run the build file remotely, the virtual directories do not get
created, although the build file log indicates that they were created
successfully.

 

            <mkiisdir dirpath="c:\Inetpub\wwwroot\MyWebApp7"
vdirname="MyWebApp" defaultdoc="Public\Launcher.aspx"
appfriendlyname="MyWebApp" />

            <mkiisdir dirpath="c:\Inetpub\wwwroot\ MyWebApp7Public"
vdirname="MyWebAppPublic"  appfriendlyname="MyWebAppPublic"/>

            <mkiisdir dirpath="c:\Inetpub\wwwroot\ MyWebApp7WindowsAuth"
vdirname="MyWebAppWindowsAuth" authntlm="true" authanonymous="false"
appfriendlyname="MyWebAppWindowsAuth"/>

 

These are the build results when I run the build script remotely or locally:

[mkiisdir] Creating/modifying virtual directory 'MyWebApp' on 'localhost:80'
(website: ).

[mkiisdir] Creating/modifying virtual directory 'MyWebAppPublic' on
'localhost:80' (website: ).

[mkiisdir] Creating/modifying virtual directory 'MyWebAppWindowsAuth' on
'localhost:80' (website: ).

 

My problem is that the virtual directories do not show up as applications in
IIS Manager.  It works fine if I run the build directly on the machine
(rather than remotely).  I am logging in remotely using the same user name
and password as when I log in directly.  All of the other tasks in the build
file work fine.

            

Has anyone run into something similar that might shed some light on why this
is happening?

 

 

Nicole



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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