I have a content management application in the root of my website, and I\'m trying to use a different app (a billing application) under a sub-folder. Unfortunately, the web.
There is an attribute that you can use in the root web.config file to cause it not to have its contents become inherited by child applications.
inheritInChildApplications
Blog about inheritInChildApplications
MSDN article on ASP.NET Configuration File Hierarcy and Inheritance
Put the part of the config that is not for inheritance inside
Config sections seem to be impossible to not inherit, but other parts of configuration can be "commented" out like this and don't get inherited.