p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > .NET > Other .NET > NAnt
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
NAnt For 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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 5th, 2007, 07:16 AM
Registered User
 
Join Date: Oct 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default <mkiisdir > of nant not working

Hi ,

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" />

error message:


Buildfile: file:///C:/checkout.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: checkout


checkout:

 [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()

BUILD SUCCEEDED - 1 non-fatal error(s), 0 warning(s)

Total time: 0.1 seconds.


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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old October 7th, 2007, 09:02 AM
planoie's Avatar
Friend of Wrox
Points: 16,368, Level: 55
Points: 16,368, Level: 55 Points: 16,368, Level: 55 Points: 16,368, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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?

-Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 8: <asp:image> inside <a> & ext.CSS (pg. 274) epc BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 July 12th, 2008 05:37 AM
onChange method of <select> in Html not working pushpa Classic ASP Databases 4 January 23rd, 2007 11:20 AM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 08:01 AM
<STRONG> vs <B> and <EM> vs <I> anshul HTML Code Clinic 12 September 1st, 2004 06:22 PM



All times are GMT -4. The time now is 03:25 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc