468,290 Members | 1,938 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,290 developers. It's quick & easy.

Web.Config inheritance with Virtual Directories


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

I have a web application running with the properties:

In IIS I have setup a virtual directory with the properties:

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.

Aug 28 '06 #1
0 1429

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by localhost | last post: by
5 posts views Thread by BPearson | last post: by
6 posts views Thread by Jose Perez | last post: by
1 post views Thread by Dominic Messenger | last post: by
2 posts views Thread by Asela Gunawardena | last post: by
12 posts views Thread by Ben | last post: by
2 posts views Thread by Arpan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.