title: Hosting ASP.NET site in IIS 7
body: <p>I was hosting published site in IIS 7 on Windows 7 installed machine. 
  I had done setting for .NET framework version, Security Options but got Error as shown below </p>
  
  <blockquote>
    <p>HTTP Error 500.19 - Internal Server
    Error</p>
    
    <p>The requested page cannot be accessed
    because the related configuration data
    for the page is invalid.  Detailed
    Error Information Module IIS Web Core 
    Notification BeginRequest </p>
    
    <p>Handler Not yet determined </p>
    
    <p>Error Code 0x800700b7 </p>
    
    <p>Config Error There is a duplicate
    'system.web.extensions/scripting/scriptResourceHandler'
    section defined  </p>
    
    <p>Config File
    \?\D:\inetpub\wwwroot\KDAHCSSD\web.config</p>
    
    <p>Requested URL
    <a href="http://localhost:80/KDAHCSSD/frmLogin.aspx" rel="nofollow">http://localhost:80/KDAHCSSD/frmLogin.aspx</a></p>
    
    <p>Physical Path
    D:\inetpub\wwwroot\KDAHCSSD\frmLogin.aspx</p>
    
    <p>Logon Method Not yet determined </p>
    
    <p>Logon User Not yet determined </p>
    
    <p>Config Source    13:<br>
    sectionGroup name="scripting"
    type="System.Web.Configuration.ScriptingSectionGroup,
    System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"</p>
    
    <p>14:      section
    name="scriptResourceHandler"
    type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
    System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"
    requirePermission="false"
    allowDefinition="MachineToApplication"/</p>
    
    <p>15:         sectionGroup
    name="webServices"
    type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
    System.Web.Extensions,
    Version=3.5.0.0, Culture=neutral,
    PublicKeyToken=31BF3856AD364E35"</p>
    
    <p>Links and More InformationThis error
    occurs when there is a problem reading
    the configuration file for the Web
    server or Web application. In some
    cases, the event logs may contain more
    information about what caused this
    error. </p>
    
    <p>View more information »</p>
  </blockquote>
  
  <p>How to solve this. What will I need to do?..</p>