Override parent web.config settings in the child web.config

Posted on 2007-07-19
Last Modified: 2008-02-01
I want to override the settings in the parent web.config in a child web.config in a sub-folder.
In my parent web.config the following section is defined.
<roleManager configSource="Configs\Generic\roles.config"/>
I do not want to apply the same configurations for a sub-folder. Precisely, I do not want any configuration for roleManager in my sub-folder.

What should I write in the web.config of the sub-folder so that I can avoid roleManager settings.
Question by:tknayak123
    1 Comment
    LVL 18

    Accepted Solution

    How about this?

        <roleManager enabled="false" />

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now