title: Unrecognized configuration section httpHandlers in Web.Config with Microsoft Visual Web Developer 2010 Express
body: <p>I am in need of some help with an error message I get with Microsoft Visual Web Developer 2010 Express.</p>
  
  <p>I would like to create a gallery for my site so I downloaded the NotesForGallery from codeplex.  I have added the reference into the project like it told me to in the installation instructions.  The instructions then say </p>
  
  <p>Register the ThumbnailHandler in the Web.Config file (httpHandlers section):</p>
  
  <pre><code>&lt;httpHandlers&gt;
  …
  &lt;add verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery"/&gt;
  …
  &lt;/httpHandlers&gt; 
  </code></pre>
  
  <p>So I open the web.config file in my solution and I add it in.  When I try and start the website (clicking the play button in Web Developer) I get the error message:</p>
  
  <p>Unrecognized configuration section httpHandlers.</p>
  
  <p>The complete list of errors I get are:</p>
  
  <p>Message 1   Could not find schema information for the element 'httpHandlers'.   C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  38  4   C:...\FatBoyFudge\
  Message 2   Could not find schema information for the element 'add'.    C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  39  8   C:...\FatBoyFudge\
  Message 3   Could not find schema information for the attribute 'verb'. C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  39  12  C:...\FatBoyFudge\
  Message 4   Could not find schema information for the attribute 'path'. C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  39  21  C:...\FatBoyFudge\
  Message 5   Could not find schema information for the attribute 'type'. C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  39  50  C:...\FatBoyFudge\
  Error   6   Unrecognized configuration section httpHandlers.    C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Web.config  38<br>
  Warning 7   C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Gallery.aspx: ASP.NET runtime error: Unrecognized configuration section httpHandlers. (C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\web.config line 38)  C:\Documents and Settings\adam\My Documents\Visual Studio 2010\WebSites\FatBoyFudge\Gallery.aspx    1   1   C:...\FatBoyFudge\</p>
  
  <p>The project I created was a website if that helps any.</p>
  
  <p>The complete web.config is as follows:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;configuration&gt;
      &lt;connectionStrings&gt;
          &lt;add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/&gt;
      &lt;/connectionStrings&gt;
      &lt;system.web&gt;
          &lt;compilation debug="true" targetFramework="4.0"/&gt;
          &lt;authentication mode="Forms"&gt;
              &lt;forms loginUrl="~/Account/Login.aspx" timeout="2880"/&gt;
          &lt;/authentication&gt;
          &lt;membership&gt;
              &lt;providers&gt;
                  &lt;clear/&gt;
                  &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/&gt;
              &lt;/providers&gt;
          &lt;/membership&gt;
          &lt;profile&gt;
              &lt;providers&gt;
                  &lt;clear/&gt;
                  &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/&gt;
              &lt;/providers&gt;
          &lt;/profile&gt;
          &lt;roleManager enabled="false"&gt;
              &lt;providers&gt;
                  &lt;clear/&gt;
                  &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/&gt;
                  &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/&gt;
              &lt;/providers&gt;
          &lt;/roleManager&gt;
      &lt;/system.web&gt;
      &lt;system.webServer&gt;
          &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
      &lt;/system.webServer&gt;
    &lt;httpHandlers&gt;
        &lt;add verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery"/&gt;
    &lt;/httpHandlers&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Any help you could give me would be handy because I'm not sure what I am doing wrong</p>