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

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.
tknayak123Asked:
Who is Participating?
 
DropZoneConnect With a Mentor Commented:
How about this?

<system.web>
    <roleManager enabled="false" />
</system.web>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.