Web Deployment Problem

  • Thread starter Thread starter John Miner
  • Start date Start date
J

John Miner

When I set up a deployment project for a web application and execute the
resulting .msi installer on the target web server, the installation wizard
asks for a virtual directory target. I am attempting to host a production
and a demo version of the same web application on the same server. Each
version is set up as a separate web site with different host header names
(e.g. http://myapp.mysite.com and http://myapp-demo.mysite.com) on the
single Win 2003 server, but both contain a virtual directory with the same
name. How do I get the installation to target the right virtual directory?

Any help greatly appreciated.
 
This is a major shortcoming of the web installer in VS.NET - it appears to
be designed with single site web servers in mind (for some reason). The
installer will install to the first running site as numbered in the IIS
metabase. So, if you bring up the IIS applet from admin tools, stop all
sites that appear in the list before the site you are actually attempting to
install to, and then run your installer.
 
Try contacting PSS. There is a "fix" for this problem that supports web
sites that use Host Headers. It hasn't yet been released on MSDN yet. If
the Product Support person you speak to doesn't know what you are talking
about, then have them contact me.
 
Back
Top