NAntFor discussing the NAnt .NET build tool. When posting a question, please specify the version of NAnt you are using.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the NAnt section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
when i am trying to create a virtual directory of IIS in remote machine than its sowing errors mentioned below;
My remote server name is : Server
Code which i have written is
<mkiisdir iisserver="server" dirpath="c:\NewCheckoutt\Rapport4\Rapport" vdirname="Rapport1" failonerror="false" verbose="true" />
[mkiisdir] Creating/modifying virtual directory 'Rapport1' on 'server:80' (website: ).
[mkiisdir] The webservice at 'server' does not exist or is not reachable.:
[mkiisdir] NAnt.Core.BuildException: The webservice at 'server' does not exist or is not reachable.
[mkiisdir] at NAnt.Contrib.Tasks.Web.WebBase.CheckIISSettings() in d:\Source\nantcontrib-20061007T071824Z\src\Tasks\Web\WebBase.cs:line 204
[mkiisdir] at NAnt.Contrib.Tasks.Web.CreateVirtualDirectory.Exec uteTask() in d:\Source\nantcontrib-20061007T071824Z\src\Tasks\Web\CreateVirtualDirect ory.cs:line 1033
[mkiisdir] at NAnt.Core.Task.Execute()
The virtual directory is not created in IIS of other machine i.e server
Please help , and reply as early as possible its very very urgent .
problem is : i need to create virtual directory in the IIs of another machine
please reply
I would appear from the error that NAnt can't find IIS on the server. I haven't worked with this particular nantcontrib task so I can't offer much more than that. I reviewed the docs however, and I don't see much in the way of criteria that would provide an explanation as to why your that task can't find the server.
What about security? How are you connecting to this server?