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.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"John Miner" <minerj@.celeris.ca> wrote in message
news:%23tNpnR70DHA.3416@.tk2msftngp13.phx.gbl...
> 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.
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.
--
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
-------
>From: "John Miner" <minerj@.celeris.ca>
>Subject: Web Deployment Problem
>Date: Mon, 5 Jan 2004 12:51:15 -0500
>Lines: 12
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#tNpnR70DHA.3416@.tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: devserver.adapt.celeris.ca 204.225.191.250
>Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!tk2msftngp13.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:199778
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>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.
Saturday, March 24, 2012
Web Deployment Problem
Labels:
application,
asp,
deployment,
execute,
installation,
installer,
msi,
net,
project,
server,
target,
theresulting,
web
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment