title: "Unrecognized configuration section exceptionHandling" in WCF service when using Enterprise Library
body: <p>I am working on a WCF service and want to use the Enterprise Library ExceptionHandling block to send the fault message back to the client but I am running into a problem.  I have found very little on the web about this error.</p>
  
  <p>I added the exceptionHandling block to the web.config and also a reference to exceptionHandling in the configSections but I still get the error.</p>
  
  <p>I have also referenced the ExceptionHandling.WCF dll in my project.  </p>
  
  <p>I shouldn't have to do anything else but it still throws the error when I publish and bring the service up in a browser.</p>
  
  <p>Any ideas?  This is probably something very simple but I just can't find the problem.  Below are the pertinent sections in my web.config:</p>
  
  <pre><code>      &lt;section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /&gt;
  
    &lt;exceptionHandling&gt;
  &lt;exceptionPolicies&gt;
    &lt;add name="WCF Exception Shielding"&gt;
      &lt;exceptionTypes&gt;
        &lt;add type="System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" postHandlingAction="ThrowNewException" name="ArgumentNullException"&gt;
          &lt;exceptionHandlers&gt;
            &lt;add
              type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.FaultContractExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF"
              name="DefaultFaultContract Handler"
              faultContractType="Bursteg.Samples.WCFIntegration.ServiceContracts.ServiceFault, Bursteg.Samples.WCFIntegration.ServiceContracts"&gt;
              &lt;mappings&gt;
                &lt;add name="Id" source="{Guid}"/&gt;
                &lt;add name="MessageText" source="{Message}"/&gt;
              &lt;/mappings&gt;
            &lt;/add&gt;
          &lt;/exceptionHandlers&gt;
        &lt;/add&gt;
      &lt;/exceptionTypes&gt;
    &lt;/add&gt;
  &lt;/exceptionPolicies&gt;
  </code></pre>
  
  <p></p>