We have deployed an ASP.NET Website (App 1) in IIS 7.5. Then under that application create another ASP.NET application (App 2). But in App 2, I don't want to inherit the web.config
from App 1.
If I try to do the following in App 1's, web.config
:
<location path="." inheritInChildApplications="false">
<configSections>
<!-- etc -->
</configSections>
</location>
it reports the error:
Config Error The configuration section 'configSections' cannot be read because it is missing a section declaration
If I try to do:
<remove name = "system.web.extensions" />
it still reports the same error: