我试过包装我的
<system.web>
与
<location path="." InheritInChildApplications="false">
喜欢这个
<location path="." InheritInChildApplications="false"> <system.web>...</system.web> </location>
但是VS 2010 Web Developer Express不断说
The ‘InheritInChildApplications’ attribute is not allowed
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’.
我的配置:ASP.NET 4.0 RTM,VS 2010,IIS 7.5