【发布时间】:2011-02-11 22:44:39
【问题描述】:
我试过包装我的
<system.web>
与
<location path="." InheritInChildApplications="false">
喜欢这个
<location path="." InheritInChildApplications="false">
<system.web>...</system.web>
</location>
但是 VS 2010 Web Developer Express 一直在说
不允许使用“InheritInChildApplications”属性
当我运行我的网络应用程序时出现错误:
HTTP 错误 500.19 - 内部服务器错误
请求的页面无法访问,因为该页面的相关配置数据无效。配置错误无法识别属性“InheritInChildApplications”。
我的配置:ASP.NET 4.0 RTM、VS 2010、IIS 7.5
【问题讨论】:
-
你有没有让这个工作?我也有同样的问题...
-
不,我在根应用程序中解决了我的问题,但子文件夹中的应用程序从未工作过。
标签: asp.net asp.net-mvc web-config