Web Project Install issues - help!

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Simon (anonymous_at_microsoft.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 16:37:33 +0100

Can anyone help me with some issues when deploying Web Setup projects?

1) You can specify the relative virtual directory and port number but not
the website to install to. For instance if the IIS web server has 4 web
sites it will pick one (at random? but always the same one, and not always
c:\inetpub\wwwroot / 'default web site'!) and install there, regardless of
what port the site is on (even if a different port is changed which is
unique to another site, it will still install to this original site with the
wrong port number). To get around it we have to temporarily set this
'default' site's home directory to where we want to install, run the install
and then change it back - a far from ideal solution which probably messes up
the uninstall. Even being able to pick the physical path would be useful
(c:\inetpub\wwwroot etc.)

2) How do you create virtual directories NOT pointing to apps within the
install? We use a trick to create a virtual sub-directory to a common
(external) app to get around session issues and have some kind of
reuseability with a relative path. The common app is installed separately
but I can't see how to make a virtual directory to it in the installer
setup?

3) Nasty problem when building an install for multiple projects going into
subdirectories of the main application directory (also applies to non-web
projects). Basically it brings across dependant assemblies for the first
project, but only seems to bring across one dependent assembly for the
others!? This means we're having to make a separate install for each
project, which is going to be a nightmare to maintain. Is there a trick to
getting this to work properly?

4) On the subject of IIS(5), since I upgraded to XP, any manually created
virtual subdirectories dissapear from the IIS tree (though they are there as
trying to add it again reports that it is in use!) This didn't happen on
Win2K. Is there a fix for this bug? Its like it will only display the
originally created virtual directory (made when the VS project was created),
 and not any newly created copies of it as subdirectories of another. I'm
using the wizard in IIS to create these 'pointer' directories. Here's an
example of what I mean -

Two asp.net web applications under the web root -

Default Web Site
    |-App1
    |-App2

Add a child virtual directory under App1 also pointing to App2 -

Default Web Site
    |-App1
    | |-App2
    |-App2

The 'child' App2 dissapears in the IIS tree on XP! (These are also the
things I want to create in the install in item 2) btw)

Thanks,

Simon



Relevant Pages

  • Re: Exchange web not working
    ... 440 is almost always an IUSR authentication error. ... did you verify that you typed the password correctly in the IIS virtual directory setup? ... all available critical updates. ... immediately after the install. ...
    (microsoft.public.windows.server.sbs)
  • Re: SMS 2003 - Unable to select any MP
    ... teh fun of trying to get the MP to install. ... disabling the MP selection, blowing away IIS, re-installing IIS, and ... wonder why such a critical portion of SMS is so hard to get going. ... Why can SMS NOT create the virtual Directory ...
    (microsoft.public.sms.setup)
  • Re: Web Project Install issues - help!
    ... There are ways to create Virtual Directories using the IIS scripting ... > 1) You can specify the relative virtual directory and port number but not ... > the website to install to. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Advice on how to create deployment package
    ... Install my business objects into Program Files ... I think it can be done in a single web setup project. ... Also, for virtual directory folder, it can also support creating multiple ... You can get the detailed special folder list in the following msdn link: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Advice on how to create deployment package
    ... Install my business objects into Program Files ... I think it can be done in a single web setup project. ... Also, for virtual directory folder, it can also support creating multiple ... You can get the detailed special folder list in the following msdn link: ...
    (microsoft.public.dotnet.framework.aspnet)