472,779 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

Deploy Asp.Net site when multiple sites exist on server

I have seen many posts of people with the same problem as me (attached
below), but I have yet to see any solutions posted. Has anyone figured
out how to deploy an Asp.net web site to the webserver in any place
other than the default website? I do not want to install it there as
our IIS has multiple websites, but nowhere is there an option when
creating the install package in Visual Studio to specify what website
on the server you want to install to. I am using VS 2002.

Anyone?

Thanks,
Marcus
From: Steve (sd*****@skura.com)
Subject: Re: Deployment to NON-default website?
View: Complete Thread (5 articles)
Original Format
Newsgroups: microsoft.public.dotnet.framework.aspnet
Date: 2002-10-22 07:54:39 PST
With regards to my original post, Microsoft has confirmed
this to be a bug. Let's hope they get this fixed in the
next service release.
-----Original Message-----
Steve,

I think you are talking about the deployment packages created by VisualStudio.Net. No "deployment packages" are created by ".Net". It is true thatcurrently the prefab ASP.Net installer created by VS.Net will only deploy tothe default website, but there is nothing stopping you from from creatingyour own installer that will create a new website in IIS and setting up yourapplication there. You might want to check into the ADSI groups for info onhow to do this. Sample scripts and documentation are provided with IIS.
-- PBR

"Steve" <sd*****@skura.com> wrote in message
news:733801c276d6$866dfff0$35ef2ecf@TKMSFTNGXA11. ..
Actually the deployment packages created by .NET will only
install under the Default Web Site as stated by Microsoft.
If you have multiple web sites on the same server (which
is very common), this install package will only install
under the Default Web Site. Yes, you can change the
default web site in IIS but this doesn't work as far
as .NET is concerned.

As I type this I am in communication with 4 different
developers with Microsoft to try and resolve this issue.
I gave in and am using one of are support tickets. As far
as I'm concerned this is a bug and I will not be charged
for the support.

Apparently, many have this problem.
So, when I get the solution, I will take the time to
spread the word.
Until then...

>-----Original Message-----
>I'm not sure I understand the problem. You can deploy ASP.NET applications >to any instance of web sites on IIS and they will run fine, unless of course >you've hardcoded something that relies on the default web site
>
>-- PBR.
>
>"Steve" <sd*****@skura.com> wrote in message
>news:00c701c27649$df0a7590$9de62ecf@tkmsftngxs01. ..
>> How? Please someone must have the answer.
>> It is not uncommon for shops to have web servers with
>> multiple web sites on them. Multiple websites with
>> individual IP's, same port...
>>
>> Microsoft are you listening?
>> This is extremely important becasue a Partner this will be
>> the stopper for us to pursue anymore .NET devlopment.
>> Simply copying files won't when you're developing complex
>> web applications.
>>
>> A urgent reply is necessary.
>> Replys may go here and/or to the above email address.
>> Thanks.
>>
>
>
>.

Nov 18 '05 #1
2 2196
Marcus,

A patch has been created for Visual Studio 2003 to fix this problem. Please call PSS and ask for the "Web Setup patch." If you have any problems, please feel free to give my name to the
support technition.

Hope this helps,
Elizabeth Newman

--------------------
From: ho**********@hotmail.com (Marcus)
Newsgroups: microsoft.public.dotnet.framework.aspnet,microsoft .public.vsnet.setup
Subject: Deploy Asp.Net site when multiple sites exist on server
Date: 16 Feb 2004 17:43:44 -0800
Organization: http://groups.google.com
Lines: 97
Message-ID: <17**************************@posting.google.com >
NNTP-Posting-Host: 199.212.20.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1076982224 5074 127.0.0.1 (17 Feb 2004 01:43:44 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Tue, 17 Feb 2004 01:43:44 +0000 (UTC)
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!ne wsfeed.fjserv.net!nx02.iad01.newshosting.com! newshosting.com!elnk-atl-nf1!newsfeed.earthlink.net!border2.nntp.ash.gigane ws.com!border1.nntp.ash.giganews.com!nntp.giganews .com!news.maxwell.syr.edu!postnews1.google.com!not-
for-mailXref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.setup:4678 microsoft.public.dotnet.framework.aspnet:210664
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I have seen many posts of people with the same problem as me (attached
below), but I have yet to see any solutions posted. Has anyone figured
out how to deploy an Asp.net web site to the webserver in any place
other than the default website? I do not want to install it there as
our IIS has multiple websites, but nowhere is there an option when
creating the install package in Visual Studio to specify what website
on the server you want to install to. I am using VS 2002.

Anyone?

Thanks,
Marcus
From: Steve (sd*****@skura.com)
Subject: Re: Deployment to NON-default website?
View: Complete Thread (5 articles)
Original Format
Newsgroups: microsoft.public.dotnet.framework.aspnet
Date: 2002-10-22 07:54:39 PST
With regards to my original post, Microsoft has confirmed
this to be a bug. Let's hope they get this fixed in the
next service release.
-----Original Message-----
Steve,

I think you are talking about the deployment packages created by

Visual
Studio.Net. No "deployment packages" are created by ".Net". It is

true that
currently the prefab ASP.Net installer created by VS.Net will only

deploy to
the default website, but there is nothing stopping you from from

creating
your own installer that will create a new website in IIS and setting

up your
application there. You might want to check into the ADSI groups for

info on
how to do this. Sample scripts and documentation are provided with

IIS.

-- PBR

"Steve" <sd*****@skura.com> wrote in message
news:733801c276d6$866dfff0$35ef2ecf@TKMSFTNGXA11 ...
Actually the deployment packages created by .NET will only
install under the Default Web Site as stated by Microsoft.
If you have multiple web sites on the same server (which
is very common), this install package will only install
under the Default Web Site. Yes, you can change the
default web site in IIS but this doesn't work as far
as .NET is concerned.

As I type this I am in communication with 4 different
developers with Microsoft to try and resolve this issue.
I gave in and am using one of are support tickets. As far
as I'm concerned this is a bug and I will not be charged
for the support.

Apparently, many have this problem.
So, when I get the solution, I will take the time to
spread the word.
Until then...
>-----Original Message-----
>I'm not sure I understand the problem. You can deploy ASP.NETapplications >to any instance of web sites on IIS and they will run fine, unlessof course >you've hardcoded something that relies on the default web site
>
>-- PBR.
>
>"Steve" <sd*****@skura.com> wrote in message
>news:00c701c27649$df0a7590$9de62ecf@tkmsftngxs01. ..
>> How? Please someone must have the answer.
>> It is not uncommon for shops to have web servers with
>> multiple web sites on them. Multiple websites with
>> individual IP's, same port...
>>
>> Microsoft are you listening?
>> This is extremely important becasue a Partner this will be
>> the stopper for us to pursue anymore .NET devlopment.
>> Simply copying files won't when you're developing complex
>> web applications.
>>
>> A urgent reply is necessary.
>> Replys may go here and/or to the above email address.
>> Thanks.
>>
>
>
>.


----
Elizabeth Newman – Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 18 '05 #2
Thanks, Elizabeth

We are using VS2002. I called Microsoft yesterday and the person I
spoke with emailed me a patch (it is not available online). It
involves replacing a dll in the deployment directory of Visual Studio,
building the deployment project to create the msi file, and then
running a javascript file called "enablehostheaders.js" with the name
of the MSI file just built as a command argument. This changes the msi
so that when you run it you will get an option asking you what web
site you want to deploy your site to.

Too bad this isn't more easily available as I am sure many others
would benefit. The guy I dealt with said that it will be available
soon, but that they were just waiting for the web documention to be
written.

If anyone would like these files and the instructions passed on from
MS, email me at:

marcus.bell@ec DOT gc DOT ca

Cheers,
Marcus
en*****@online.microsoft.com (Elizabeth Newman [MS]) wrote in message news:<RA**************@cpmsftngxa07.phx.gbl>...
Marcus,

A patch has been created for Visual Studio 2003 to fix this problem. Please call PSS and ask for the "Web Setup patch." If you have any problems, please feel free to give my name to the
support technition.

Hope this helps,
Elizabeth Newman

--------------------
From: ho**********@hotmail.com (Marcus)
Newsgroups: microsoft.public.dotnet.framework.aspnet,microsoft .public.vsnet.setup
Subject: Deploy Asp.Net site when multiple sites exist on server
Date: 16 Feb 2004 17:43:44 -0800
Organization: http://groups.google.com
Lines: 97
Message-ID: <17**************************@posting.google.com >
NNTP-Posting-Host: 199.212.20.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1076982224 5074 127.0.0.1 (17 Feb 2004 01:43:44 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Tue, 17 Feb 2004 01:43:44 +0000 (UTC)
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!ne wsfeed.fjserv.net!nx02.iad01.newshosting.com!

newshosting.com!elnk-atl-nf1!newsfeed.earthlink.net!border2.nntp.ash.gigane ws.com!border1.nntp.ash.giganews.com!nntp.giganews .com!news.maxwell.syr.edu!postnews1.google.com!not-
for-mail
Xref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.setup:4678 microsoft.public.dotnet.framework.aspnet:210664
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I have seen many posts of people with the same problem as me (attached
below), but I have yet to see any solutions posted. Has anyone figured
out how to deploy an Asp.net web site to the webserver in any place
other than the default website? I do not want to install it there as
our IIS has multiple websites, but nowhere is there an option when
creating the install package in Visual Studio to specify what website
on the server you want to install to. I am using VS 2002.

Anyone?

Thanks,
Marcus
From: Steve (sd*****@skura.com)
Subject: Re: Deployment to NON-default website?
View: Complete Thread (5 articles)
Original Format
Newsgroups: microsoft.public.dotnet.framework.aspnet
Date: 2002-10-22 07:54:39 PST
With regards to my original post, Microsoft has confirmed
this to be a bug. Let's hope they get this fixed in the
next service release.
-----Original Message-----
Steve,

I think you are talking about the deployment packages created by VisualStudio.Net. No "deployment packages" are created by ".Net". It is true thatcurrently the prefab ASP.Net installer created by VS.Net will only deploy tothe default website, but there is nothing stopping you from from creatingyour own installer that will create a new website in IIS and setting up yourapplication there. You might want to check into the ADSI groups for info onhow to do this. Sample scripts and documentation are provided with IIS.
-- PBR

"Steve" <sd*****@skura.com> wrote in message
news:733801c276d6$866dfff0$35ef2ecf@TKMSFTNGXA11 ...
Actually the deployment packages created by .NET will only
install under the Default Web Site as stated by Microsoft.
If you have multiple web sites on the same server (which
is very common), this install package will only install
under the Default Web Site. Yes, you can change the
default web site in IIS but this doesn't work as far
as .NET is concerned.

As I type this I am in communication with 4 different
developers with Microsoft to try and resolve this issue.
I gave in and am using one of are support tickets. As far
as I'm concerned this is a bug and I will not be charged
for the support.

Apparently, many have this problem.
So, when I get the solution, I will take the time to
spread the word.
Until then...
>-----Original Message-----
>I'm not sure I understand the problem. You can deploy ASP.NET applications >to any instance of web sites on IIS and they will run fine, unless of course >you've hardcoded something that relies on the default web site
>
>-- PBR.
>
>"Steve" <sd*****@skura.com> wrote in message
>news:00c701c27649$df0a7590$9de62ecf@tkmsftngxs01. ..
>> How? Please someone must have the answer.
>> It is not uncommon for shops to have web servers with
>> multiple web sites on them. Multiple websites with
>> individual IP's, same port...
>>
>> Microsoft are you listening?
>> This is extremely important becasue a Partner this will be
>> the stopper for us to pursue anymore .NET devlopment.
>> Simply copying files won't when you're developing complex
>> web applications.
>>
>> A urgent reply is necessary.
>> Replys may go here and/or to the above email address.
>> Thanks.
>>
>
>
>.


----
Elizabeth Newman ? Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: developerqs | last post by:
I have developed an engine that I use for all of my clients web sites. They are all the same type of site, some use features A, B, & C. Some web sites just use features A & B. My issue is that...
3
by: John Holmes | last post by:
We have a couple of websites on our Intranet IIS server. We use the default website for some vended web apps, but the majority of our intranet exists on another IIS configured website. The problem...
11
by: Simon | last post by:
Hi all As I'm sure is common knowledge the version of IIS included in XP Pro is limited in that you can only create 1 website in the IIS snap in. As an ASP.net developer this is a pain in the...
3
by: Tim_Mac | last post by:
hi, see quote below from http://groups.google.ie/groups?hl=en&lr=&th=36c5d2df211a4d78&seekm=00480961-660F-462D-BBD4-455C8DA26C38%40microsoft.com&frame=off According to the book: "Deploying .NET...
3
by: JIM.H. | last post by:
Hello, I used copy project and create a copy of my project with file required at run time to deploy my asp.net application to a DMZ web server. I copied the folder to Web sever and created a web...
2
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
2
by: Tim_Mac | last post by:
hi, i am trying to find the best way of making a single .aspx page available to any web site on an IIS 6 server. without having multiple copies floating everywhere. previously i have used a...
8
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.