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