I am not fantastic when it comes to managing the IIS servers.
I need to install a new .net 4 app on an existing IIS 7 site.
I successfully completed an installation on development and test server; but am stumped on the real thing.
Using IIS content view to browse to a simple page - i can detect an error message that reveals its inheriting web config from the default site. The error message indicates that their are duplicate entries in the web config.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
The duplicate entry IS within the default site itself - yet the default site functioning happily?
The error message is referencing this block of "parent" default site config
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
12: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
13: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Within the parent default site - I see
the only potential duplicate is within system.web/httphandlers
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
and system webserver /httphandlers
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
to my own config I have attempted to add
</clear>
to system.web httphandlers and to system.webserver handlers
Next I tried to "remove" the duplicate line within my own config
Both attempts - do not override the duplicate in the parent
Any other ideas?
Thanks
Lisa