I have a website where there is multiple nested web applications.
www.domain.com\ web.config (.NET 2.0)
Site2\
web.config (.NET 3.5)
Both the root and the Site2 Directory are defined as Virtual IIS directories in IIS
The limitiaiton to only one root directory is stipulated by my web host
Currently in my sub application's web.config I have to have the following
<httpModules>
<remove name="ScriptModule" />
<add name="ScriptModule" type="System.Web.Handlers.
ScriptModu
le, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3
64E35"/>
</httpModules>
however when this is then run not in it's production location it fails stating that there is no scriptModule to remove.
Is there anything I can set in the web config to break the inheritance?
or is there a Remove If exisits?
Start Free Trial