Bugs item #1284206, was opened at 2005-09-07 22:55 Message generated for change (Comment added) made by holoduke You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1284206&group_id=54790
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: dv83d (dv83d) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with mkiisdir Initial Comment: It appears that the acquisition of the website is dependant on both the bindings and the website name this fails when you are looking for a website on the localhost iis server that is not bound explictly to localhost or the machine name. For example I want to connect to localhost and create a vritual directory on the website "My Website" which has a server binding of ":mywebsite.com:80" currently this is not possible. ---------------------------------------------------------------------- Comment By: Boris Byk (holoduke) Date: 2007-11-17 13:03 Message: Logged In: YES user_id=559852 Originator: NO Yes I've just also met this issue. Following configuration does not work: <mkiisdir iisserver="WebHostingMachine" website="My Web Site" dirpath="..." vdirname="..." /> There probably should be a bug in WebBase.cs in 'BindingPriority(string binding)': private int BindingPriority(string binding) { ... if (host.Length == 0) { <<<< WHY THIS? IN MOST CASES IT IS host.Length != 0) <<< return 1; } ... return 0; } Due to this the BindingPriority method always return 0 for configuration above. And then in FindServerInstance method we have: int maxBindingPriority = 0; .... if (bindingPriority <= maxBindingPriority) { continue; } It means that in seeking foreach block I would be always headed to continue operator and always miss following verification of 'website' attribute. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1284206&group_id=54790 ------------------------------------------------------------------------- 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/ _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer