Seriously, what's the deal with InheritInChildApplications? Does this work for anyone??
Posted
by mare
on Stack Overflow
See other posts from Stack Overflow
or by mare
Published on 2010-04-24T19:36:37Z
Indexed on
2010/04/24
19:43 UTC
Read the original article
Hit count: 940
I've tried wrapping my
<system.web>
with
<location path="." InheritInChildApplications="false">
like this
<location path="." InheritInChildApplications="false">
<system.web>...</system.web>
</location>
But VS 2010 Web Developer Express keeps saying "The 'InheritInChildApplications' attribute is not allowed" and when I run my web app there's an error:
"HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid."
Config Error Unrecognized attribute 'InheritInChildApplications'.
I've seen some smartguys all over the Internet discussing this and how it is working for them but there's much larger number of people here at SO and other places that did not get this to work.
My configuration: ASP.NET 4.0 RTM, VS 2010, IIS 7.5
© Stack Overflow or respective owner