Deploying to an alternative Web Folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tonyz.wrightz@consultant.com

    #1

    Deploying to an alternative Web Folder

    Hi,

    I have used the setup wizard to build an installer that installs my
    asp.net application. Problem is, at my current job, they have an
    alternative web folder at the root level (to clarify, at the Default
    Web Site level, there is also another Web Folder).

    When I run the installer, it only wants to install the site under the
    Default Web Site, and doesn't appear to have any way of selecting the
    alternative location.

    Any advice on how to get around this problem would be much appreciated.


    Thanks,
    Tony

  • Jacky Kwok

    #2
    Re: Deploying to an alternative Web Folder

    tonyz.wrightz@c onsultant.com wrote:[color=blue]
    > Hi,
    >
    > I have used the setup wizard to build an installer that installs my
    > asp.net application. Problem is, at my current job, they have an
    > alternative web folder at the root level (to clarify, at the Default
    > Web Site level, there is also another Web Folder).
    >
    > When I run the installer, it only wants to install the site under the
    > Default Web Site, and doesn't appear to have any way of selecting the
    > alternative location.
    >
    > Any advice on how to get around this problem would be much appreciated.
    >
    >
    > Thanks,
    > Tony
    >[/color]


    Maybe you can try to input the full URL in the Virtual Directury field
    which prompted by the installer,

    e.g.




    In normal case, just the folder name will be inputed. Then, the webapp
    will be installed in the default site.

    --
    Jacky Kwok
    jacky@alumni_DO T_cuhk_DOT_edu_ DOT_hk
    jacky@compose_D OT_com_DOT_hk

    Comment

    • tonyz.wrightz@consultant.com

      #3
      Re: Deploying to an alternative Web Folder

      Ok, I tried that, and it came up with the folowing error:

      "The specified path
      'http://intranetdev/http://ComWebDev/webservices/CoM.BisApplicat ion' is
      unavailable. The Internet Information Server might not be running or
      the path exists and is redirected to another machine. Please check the
      status of this virtual directory in the Internet Services Manager."

      So I can only assume that it needs a relative path. It is the
      http://intranetdev part that I need to change...

      Comment

      • Jacky Kwok

        #4
        Re: Deploying to an alternative Web Folder

        tonyz.wrightz@c onsultant.com wrote:[color=blue]
        > Ok, I tried that, and it came up with the folowing error:
        >
        > "The specified path
        > 'http://intranetdev/http://ComWebDev/webservices/CoM.BisApplicat ion' is
        > unavailable. The Internet Information Server might not be running or
        > the path exists and is redirected to another machine. Please check the
        > status of this virtual directory in the Internet Services Manager."
        >
        > So I can only assume that it needs a relative path. It is the
        > http://intranetdev part that I need to change...
        >[/color]

        It is a strange case.

        In fact, I had experienced a similar problem in a Windows2003 Server for
        Small Business Server version (2003 SBS).


        The Small Business Server will install many WebSites by default.
        One is "Default Web Site", one is "companyweb " in my case, the other two
        about something other.


        My problem was that , my ASPNET application installer always installs
        application in "companyweb ". Hence, my app did not work in normal by
        "http://<prefer machinename>/folder/..".
        In fact, it was my first time to use 2003 SBS and multiple sites IIS (in
        fact, this problem was in customer site).

        Finally, I found that I could use the full URL to select which site the
        webapp to install in.
        e.g.
        "http://localhost/folder" => install in "Default Web Site",
        "http://companyweb/folder" => install in "companyweb ",

        Hence, I preferred it also work for your case.


        Because of your case, I actually tested in a normal 2003 standard
        server. I created an additional WebSite to test the problem.

        Actually, you were right. I also got the smae problem. I do not know
        what is the diference between 2003 SBS and standard server.



        One of the method I think you can try -
        I found that using the default VirtualFolder in ASPNET app installer,
        the app always install in ONE website (not "always Default Web Site").

        If you bind different IP addresses to the WebSites, I found that
        application will be installed always in the "samll' IP site.

        e.g. if one IP is "192.168.168.14 4" , another is "192.168.168.14 5".
        The webapp always will be installed in "192.168.168.14 4".

        Hence, you may try to change the IP which are bound to the websites
        before install apps. Then, change the IP back to original after
        installation.

        Of cause, you can also use XCOPY method to install webapp and create
        virtual directory manually. It always works for Dotnet app.

        --
        Jacky Kwok
        jacky@alumni_DO T_cuhk_DOT_edu_ DOT_hk
        jacky@compose_D OT_com_DOT_hk

        Comment

        • tonyz.wrightz@consultant.com

          #5
          Re: Deploying to an alternative Web Folder

          I am currently installing the application to the Default Web Site, then
          copying the folders (one for a Web Site, one for a Web Service) to the
          same locations on the alternative web site. Then I go into IIS and
          recreate the application on the correct web server.

          I just wish I could figure out how to get it to install on the correct
          web site...

          Comment

          Working...