title: Unrecognized configuration section system.web/configuration
body: <p>i'm getting this "Unrecognized configuration section system.web/configuration when i set my admin,staff and user authentication .please help me with this.by here i provide the web.config code</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!-- 
      Note: As an alternative to hand editing this file you can use the 
      web admin tool to configure settings for your application. Use
      the Website-&gt;Asp.Net Configuration option in Visual Studio.
      A full list of settings and comments can be found in 
      machine.config.comments usually located in 
      \Windows\Microsoft.Net\Framework\v2.x\Config 
  --&gt;
  
  &lt;configuration&gt;
  &lt;appSettings/&gt;
  &lt;connectionStrings&gt;
      &lt;add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/&gt;
      &lt;add name="ASPNETDBConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Se7en\Desktop\Personal\VIVA\1\App_Data\ASPNETDB.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
  &lt;system.web&gt;
      &lt;!-- 
          Set compilation debug="true" to insert debugging 
          symbols into the compiled page. Because this 
          affects performance, set this value to true only 
          during development.
  
          Visual Basic options:
          Set strict="true" to disallow all data type conversions 
          where data loss can occur. 
          Set explicit="true" to force declaration of all variables.
      --&gt;
  
  &lt;configuration&gt;
  
    &lt;system.web&gt;
  
      &lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="Login.aspx"&gt;
          &lt;credentials passwordFormat="Clear"&gt;
            &lt;user name="admin" password="password"/&gt;
          &lt;/credentials&gt;
        &lt;/forms&gt;
      &lt;/authentication&gt;
      &lt;authorization&gt;
        &lt;allow users="*"/&gt;
      &lt;/authorization&gt;
      &lt;compilation debug="true"/&gt;
    &lt;/system.web&gt;
    &lt;location path="adminstrator"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="adminstrator"/&gt;
          &lt;deny users="*"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
    &lt;location path="staff"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;allow users="staff"/&gt;
          &lt;deny users="*"/&gt;
          &lt;allow roles="adminstrator" /&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
    &lt;location path="user"&gt;
      &lt;system.web&gt;
        &lt;authorization&gt;
          &lt;deny users="?"/&gt;
        &lt;/authorization&gt;
      &lt;/system.web&gt;
    &lt;/location&gt;
  &lt;/configuration&gt;
  &lt;!-- 
  &lt;authentication mode="Forms"/&gt;
  --&gt;
      &lt;roleManager enabled="true"/&gt;
      &lt;compilation debug="true" strict="false" explicit="true" targetFramework="4.0"&gt;
          &lt;assemblies&gt;
              &lt;add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/&gt;&lt;/assemblies&gt;&lt;/compilation&gt;
      &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"&gt;
          &lt;namespaces&gt;
              &lt;clear/&gt;
              &lt;add namespace="System"/&gt;
              &lt;add namespace="System.Collections"/&gt;
              &lt;add namespace="System.Collections.Generic"/&gt;
              &lt;add namespace="System.Collections.Specialized"/&gt;
              &lt;add namespace="System.Configuration"/&gt;
              &lt;add namespace="System.Text"/&gt;
              &lt;add namespace="System.Text.RegularExpressions"/&gt;
              &lt;add namespace="System.Linq"/&gt;
              &lt;add namespace="System.Xml.Linq"/&gt;
              &lt;add namespace="System.Web"/&gt;
              &lt;add namespace="System.Web.Caching"/&gt;
              &lt;add namespace="System.Web.SessionState"/&gt;
              &lt;add namespace="System.Web.Security"/&gt;
              &lt;add namespace="System.Web.Profile"/&gt;
              &lt;add namespace="System.Web.UI"/&gt;
              &lt;add namespace="System.Web.UI.WebControls"/&gt;
              &lt;add namespace="System.Web.UI.WebControls.WebParts"/&gt;
              &lt;add namespace="System.Web.UI.HtmlControls"/&gt;
          &lt;/namespaces&gt;
      &lt;/pages&gt;
      &lt;!--
          The &lt;authentication&gt; section enables configuration 
          of the security authentication mode used by 
          ASP.NET to identify an incoming user. 
      --&gt;
      &lt;!--
          The &lt;customErrors&gt; section enables configuration 
          of what to do if/when an unhandled error occurs 
          during the execution of a request. Specifically, 
          it enables developers to configure html error pages 
          to be displayed in place of a error stack trace.
  
      &lt;customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"&gt;
          &lt;error statusCode="403" redirect="NoAccess.htm" /&gt;
          &lt;error statusCode="404" redirect="FileNotFound.htm" /&gt;
      &lt;/customErrors&gt;
      --&gt;
  &lt;/system.web&gt;
  
     &lt;!-- 
      The system.webServer section is required for running ASP.NET AJAX under Internet
      Information Services 7.0.  It is not necessary for previous version of IIS.
     --&gt;
  
  &lt;/configuration&gt;
  </code></pre>