473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Web.Config inheritance with Virtual Directories

Hi,

I am having problems with virtual directories and web.config inheritance. I
have read the section titled "Conflicts between settings on virtual and
physical directories" at
http://msdn2.microsoft.com/en-us/library/ms178685.aspx

I have a web application running with the properties:
http://www.domain.com/
c:\domain\

In IIS I have setup a virtual directory with the properties:
http://www.domain.com/vdir/
c:\vdir\

There is a web.config at c:\domain\web.config and at c:\vdir\web.config.

When I try to access a page in the virtual directory
(http://www.domain.com/vdir/default.aspx), it will give me errors because it
is inheriting properties from the web config at c:\domain\web.config

Is this proper inheritance? How can I create a virtual directory that does
not inherit the web.config of the root web application? One of the reasons
for doing this is because the root application uses the
Microsoft.Web.Atlas.dll and none of the virtual directory applications use
this. However, when I try to access a virtual directory application, it
complains it cannot find a reference to the atlas dll.

Thanks!
-DJ
Aug 28 '06 #1
0 1592

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

Similar topics

5
by: localhost | last post by:
Is a web.config read in any subdirectory of a web site, or is web.config only read if it is itself in an application main directory (eg site root or virtual directory)? Thanks.
5
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...
6
by: Jose Perez | last post by:
Dear All, We are experiencing a problem with web.config and the fact that it's settings are being "inherited" other applications. Our default website is configured to run "MyApplication1". The...
1
by: Dominic Messenger | last post by:
I have a webservice that is implemented as an IIS application. What I now need to do is scale this up as 10 separate webservices (identical codebase), with 10 different web.config files as 10...
3
by: Manso | last post by:
Hi, We have an application that is installed in default web site (root web site). The same application will be installed as virtual directories under the root site e.g. <default web site>/app1...
2
by: Asela Gunawardena | last post by:
we have a web site which operates as a seperate application that can be integrated with other webs site developped to use other platforms such as php, jsp, etc. so obivously we have our own...
12
by: Ben | last post by:
I have a group of settings that I'd like to have inherited by multiple sites. I'm trying this, but it's not working. wwwroot\group\web.config wwwroot\group\site1\web.config...
0
by: SuperJason | last post by:
We have a web application that uses 2 different virtual directories. - The first is an ASP.NET application that has web services that can be used to authenticate various clients. - The second is...
2
by: Arpan | last post by:
What exactly are configuration section handlers in a web.config file? How would you define them & what for are they used in web.config files? Is it a must for web.config files to have handlers? ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.