473,657 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deploying multiple asp.net sites under the same folder

I have a web site built with ASP.NET based on the dwamish books
sample. The site has a few DLL's (façade, business rules, DAL and a
DLL for configuration loading and logging) that it depends on and
(obviously) a web.config file.

We also need to create for this site a WAP site. So we started a
Mobile Web Application and created it using the same n-tier DLL's

Both sites on the Application_Sta rt on global.asax file call a
function which has these 2 lines
System.Configur ation.Configura tionSettings.Ge tConfig("Applic ationConfigurat ion")
System.Configur ation.Configura tionSettings.Ge tConfig("Tracke mConfiguration" )
The web.config file has a section with these names and the names of
the classes that implement the IConfigurationS ectionHandler

The site works perfectly and there are no problems when installed
separately.

However, this is my problem: The desktop site is installed on the
production server on a separate SITE. I now want the WAP site to be on
a WAP folder under the desktop site

e.g.:
The desktop site is at www.desktopsite.com
The WAP site should be at www.desktopsite.com/WAP/

the problem is that when I either put the WAP folder under the wwwroot
of the desktop site OR point to it using a virtual directory the WAP
site suddenly stops working (in both cases I define the WAP folder as
an IIS application)

The problem with the site is that suddenly it does not read the
web.config file (or at least the TrackemConfigur ation part of it)
And therefore I do not have the sites settings and everything crashes.

If I simply move the files to another location on a different site on
the IIS the WAP site works perfectly.
What is the problem? Can't I have an asp.net web site and under it in
a different folder another asp.net web site?

Thanks
Nov 18 '05 #1
0 933

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

Similar topics

0
1123
by: joshua drew | last post by:
I have multiple .Net web apps that live on a web server that hosts multiple .Net sites. I want to use the Web Application Installer but it looks like it installs the web app in the default web site (the one that is x:\inetpub\wwwroot. I need it to go to another web site. Each web sites use different ips and some use host header names. Is there a way to specify the site to release to not a virtual directory. I need it to go to a site.
4
2136
by: tonyz.wrightz | last post by:
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.
1
1735
by: dansan | last post by:
We have a webservice that we have been deploying using the deployment project in Visual Studio. Now we are trying to deploy this service to a server that has multiple sites. I have looked everywhere in the deployement project to see where I can allow the person installing to choose the root, but I can't find anything. Is there a way to install in a desired root using the deployment project? or is Visual Studio installer more of a...
2
2199
by: Greg W. | last post by:
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder (i.e. not subdirectories). The setup works fine as long as the user leaves the default setting of port 80. If they choose something different, the install program loads the web application folder correctly at the non-standard port, but it installs...
10
2067
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
5
10513
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to do this? (IIS 5 or 6 In case you're wondering why I would do this, we have many web sites on a single server, and there are groups of sites that need to share common configuration information. I'd like to ease some administration by having one...
4
1461
by: LiamCo | last post by:
I want to deploy an asp.net application but I want the installer to be able to specify the website that it goes into at install time. The current installer always installs to the default website. I have heard that there is a fix for this available, can anyone point me towards it.
3
1871
by: Christian Nunciato | last post by:
Hi there: I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I run the app on my local machine, using the built-in Web server, I have no problems, but deploying the site to a 2003 Server machine (which is also running several 1.1 sites) throws a persistent 404. I've looked around and found several references to the app_offline file, for which I've searched exhaustively and found nothing. I'm essentially running...
2
1905
by: pranshu | last post by:
Hello All, I have a web application which I need to deploy on a particular web server on a machine having different web servers on different IP addresses. I havent been able to find a way to do this. However, we can chose a port on which we can do a deployment. Now the only way that I have been able to think of so far is to - Create a new web site ( lets call it Installation site) on an unused port ( lets say 81)
0
8305
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
8825
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
8732
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
8503
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
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7324
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
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
2
1953
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.