Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / March 2004

Tip: Looking for answers? Try searching our database.

How to choose virtual server in Web Setup Project?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew Belk - 20 Feb 2004 16:14 GMT
I am trying to figure out how to allow the user to select on which virtual
server to install an ASP.NET web application.  It seems like the default
behavior for the web setup projects is just to install to the first virtual
server in the list.  How can I intercept that and change it?

Ideally, I would like the user to be able to specify a base url
(http://site.domain.com) in the installation routine, and have the installer
install the web app to that particular virtual server.

Any help would be appreciated.

Thanks,
Matthew Belk
www.bizspeed.com
Mike Wade [MSFT] - 23 Feb 2004 21:45 GMT
The web setup will be installed to a site which matches the specified port.  If there are multiple sites on that port, the
web setup will choose the first active site that it finds.  Unfortunately, your only options (short of writing your own
custom actions to perform the task for you) are to move the other sites to a different port, or shut the others off.

Signature

Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

>From: "Matthew Belk" <mbelk@bizspeed.com>
>Subject: How to choose virtual server in Web Setup Project?
[quoted text clipped - 14 lines]
>Matthew Belk
>www.bizspeed.com
Simon Storr - 29 Mar 2004 15:19 GMT
I have a similar problem in that I have a 'common' web folder used by
multiple web apps, but I'm 'tricking' IIS into thinking its one big app
using virtual sub-directories pointing to this common folder (lets me use a
common CSS stylesheet and have a common directory for images etc.).. For
example -

Main App  (in say c:\inetpub\wwwroot\main, virtual directory '\main')
 \__ Child App (actually in c:\inetpub\wwwroot\child, but I want the
virtual dir to be '\main\child' rather than '\child' if that makes sense)

The web setup app seems to force the virtual directories to map to the same
physical location. You can't change the virtual path of subfolders :o(. Is
there a way to implement this?

Thanks,

Simon

> The web setup will be installed to a site which matches the specified port.  If there are multiple sites on that port, the
> web setup will choose the first active site that it finds.  Unfortunately, your only options (short of writing your own
[quoted text clipped - 18 lines]
> >Matthew Belk
> >www.bizspeed.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.