I am trying to run a standard SubText blog engine as a sub application to a standard MS MVC website. The Web.configs have conflicting entries. I know there is some way to limit the scope of these entries in the web.config, but I have yet to make it work. Any ideas? I tried using a <location>
tag but it cannot exist at a root xml level. Trying to use <remove>
statements seem to be simply ignored. The details:
The sub app error:
Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level where it is defined.
The sub app code:
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35">
The parent app code:
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35">`