title: An error occurred creating the configuration section handler
body: <p>I have a dot.NET 4.0 web application with a custom section defined:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;configSections&gt;
      &lt;section name="registrations" type="System.Configuration.IgnoreSectionHandler, System.Configuration, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="true" restartOnExternalChanges="true" allowLocation="true"/&gt;
      ....
  </code></pre>
  
  <p>at the end of the web.config file I have the respective section:</p>
  
  <pre><code>  ....
    &lt;registrations&gt;
      .....
    &lt;/registrations&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Every time  I call <code>System.Configuration.ConfigurationManager.GetSection("registrations");</code> I get the following exception:</p>
  
  <blockquote>
    <p>An error occurred creating the configuration section handler for registrations: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (C:\...\web.config line 13)</p>
  </blockquote>
  
  <p>I'm also using Unity but don't know if that's in any way related to the error.</p>
  
  <p>Have you faced this error before? How can I fix it? Do I need to replace the <code>IgnoreSectionHandler</code> with something else?</p>