我正试图运行一个标准的潜台词博客引擎作为一个标准的微软MVC网站的子应用程序。web.configs有冲突的条目。我知道有一些方法可以限制web.config中这些条目的范围,但我还没有使其生效。有什么想法吗?我试着用
<location>
标记,但它不能存在于根XML级别。尝试使用
<remove>
声明似乎被简单地忽略了。细节:
子应用程序错误:
Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level where it is defined.
子应用程序代码:
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35">
父应用程序代码:
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35">`