【发布时间】:2012-10-09 21:44:43
【问题描述】:
我们在 IIS 7.5 上部署了一个 MVC3 应用程序,现在需要在主应用程序的子目录中部署另一个应用程序。遇到 Web.config 继承冲突后,我们尝试按照web.config - how to prevent all inheritance 接受的答案中的建议将父应用配置文件的 system.web 部分包装在 <location path="." inheritInChildApplications="false"> 中,但我们收到错误:
InheritInChildApplications 不能设置为“false”,如果位置 路径是指 machine.config 或根 web.config。
我们做错了什么?
【问题讨论】:
-
你找到解决办法了吗?
标签: asp.net-mvc-3 inheritance web-config