« Previous Next »

Thread: Does Not!

Last post 12-09-2008 6:59 PM by gponto18. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-06-2008, 7:59 PM

    Does Not!

    IIS 7 (Vista) is telling me this about my (VS2k8 automatically created) Virtual Directory:

    Detailed Error InformationModule IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x800700b7
    Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined 
    Config File \\?\c:\Dev\WebSites\LY\LYT\LY.Site\web.config
    Requested URL http://localhost:80/LY.Site/signup/newcompany.aspx
    Physical Path c:\Dev\WebSites\LY\LYT\LY.Site\signup\newcompany.aspx
    Logon Method Not yet determined
    Logon User Not yet determined

     

    It shows me this config source that it is objecting about:

        4: 			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        5: 				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        6: 				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    


    Unfortunately, it lies. Lies Lies Lies. There is no such duplicate section in my web.config. I hit CTRL+F and everything!

    Also, it appears no one else in the entire world of Google has had this specific problem. Not that it should matter... but this is a SilverLight2 beta app trying to communicate with a WCF webservice based web app. Though -- none of that should come into play when just parsing the web.config file.

    Any thoughts? There is no actual duplication here that I can see. Here is the full text of the configsecionts section of my web.config:

    <configSections>

    <sectionGroup
    name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

    <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>

    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/><section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

    </sectionGroup>

    </sectionGroup>

    </sectionGroup>

    </configSections>

     

  • 05-06-2008, 11:03 PM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Does Not!

    You probably have a web.config file that has the same entry in a parent directory. Configuration inherits from the parent and that's generating the error.

     

    Hope this helps

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 12-09-2008, 6:59 PM In reply to

    • gponto18
    • Not Ranked
    • Joined on 01-13-2006, 1:46 PM
    • Posts 1

    Re: Does Not!

    I just ran into this issue today on an application that was working; no code changed whatsoever. I cannot find any duplicate entry within my web.config file either.

    Anyone manage to overcome this one?

Page 1 of 1 (3 items)
Microsoft Communities