473,608 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.publi c.dotnet.framew ork.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:733801c27 6d6$866dfff0$35 ef2ecf@TKMSFTNG XA11...
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:00c701c27 649$df0a7590$9d e62ecf@tkmsftng xs01...
>> 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 2263
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**********@ho tmail.com (Marcus)
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet,micr osoft.public.vs net.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**********@go ogle.com
NNTP-Posting-Date: Tue, 17 Feb 2004 01:43:44 +0000 (UTC)
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!TK2 MSFTNGP08.phx.g bl!news-out.cwix.com!ne wsfeed.cwix.com !newsfeed.icl.n et!newsfeed.fjs erv.net!nx02.ia d01.newshosting .com! newshosting.com !elnk-atl-nf1!newsfeed.ea rthlink.net!bor der2.nntp.ash.g iganews.com!bor der1.nntp.ash.g iganews.com!nnt p.giganews.com! news.maxwell.sy r.edu!postnews1 .google.com!not-
for-mailXref: cpmsftngxa07.ph x.gbl microsoft.publi c.vsnet.setup:4 678 microsoft.publi c.dotnet.framew ork.aspnet:2106 64
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.publi c.dotnet.framew ork.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:733801c2 76d6$866dfff0$3 5ef2ecf@TKMSFTN GXA11...
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:00c701c27 649$df0a7590$9d e62ecf@tkmsftng xs01...
>> 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 "enablehosthead ers.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******* *******@cpmsftn gxa07.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**********@ho tmail.com (Marcus)
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet,micr osoft.public.vs net.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**********@go ogle.com
NNTP-Posting-Date: Tue, 17 Feb 2004 01:43:44 +0000 (UTC)
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!TK2 MSFTNGP08.phx.g bl!news-out.cwix.com!ne wsfeed.cwix.com !newsfeed.icl.n et!newsfeed.fjs erv.net!nx02.ia d01.newshosting .com!

newshosting.com !elnk-atl-nf1!newsfeed.ea rthlink.net!bor der2.nntp.ash.g iganews.com!bor der1.nntp.ash.g iganews.com!nnt p.giganews.com! news.maxwell.sy r.edu!postnews1 .google.com!not-
for-mail
Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.vsnet.setup:4 678 microsoft.publi c.dotnet.framew ork.aspnet:2106 64
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.publi c.dotnet.framew ork.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:733801c2 76d6$866dfff0$3 5ef2ecf@TKMSFTN GXA11...
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:00c701c27 649$df0a7590$9d e62ecf@tkmsftng xs01...
>> 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
1870
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 in order for me to make a new site, I am copying the files and then adding in the design/unique look. This makes developing new features and fixing old features a huge hassle because:
3
1624
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 I'm having is that my Web Deployment Project just asks for what virtual directory I want to install into and it doesn't give any options for the website. I'm using the windows bootstrap option and it creates a setup.exe and msi file that I run to...
11
1994
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 arse because I can't figure out how to stop having this fact cock up my relative urls. When I create a virtual directory - presumably what you're supposed to do when you're only allowed one site my relative URL's refer to the root of the
3
2975
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 Applications Lifecycle Guide" published in Microsoft Press: "Web setup projects allow you to specify which port to install the application on, they do not currently support deployment of a Web application to a site differentiated by host...
3
1875
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 site by pointing this new folder. I have web site name as MySite. How should I launch this in the internet explorer to see if it works. I tried http://MySite it did not bring anything. I have never done this before. Thanks, Jim.
2
1879
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 website directory the application gets restarted and the web server needs to recompile all my aspx-pages. Because the traffic is high the web server needs to recompile a lot of aspx-pages at the same time. Because of this alot of requests gets...
6
3617
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 list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
2
1348
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 hardlink for the file and junction point for the Bin directory, which works well. but not everyone is comfortable doing this, and it doesn't scale well for many sites if using a GUI tool such as NtfsLink.
8
1830
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 happily side by side in two virtual directories in the same IIS website. e.g. http://localhost/dotnetnuke and http://localhost/mobilephoneapp Now they are ready to be deployed to a production webserver (IIS 6.0). I want the first app to be run...
0
8059
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8000
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8470
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6815
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4023
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.