title: The element 'behavior' has invalid child element 'myFaultExtension' in wcf app.config
body: <p>I'm trying to catch regular exceptions from a WCF service in a Silverlight client application. For that I've included the respective changes in my WCF service as given <a href="http://msdn.microsoft.com/en-us/library/dd470096%28VS.96%29.aspx" rel="noreferrer">in this MSDN article</a>.</p>
  
  <p>But when I configure the behavior extension and use the same in endpoint behavior, the error mentioned above is coming up, and the service is not able to run due to this error. </p>
  
  <p>I am putting here my configuration. Kindly suggest how can I solve this?</p>
  
  <pre><code>  &lt;extensions&gt;
        &lt;!--Add a behavior extension within the service model--&gt;
        &lt;!-- Here SilverlightFaultBehavior is a class in AppServiceLib namespace --&gt;
        &lt;behaviorExtensions&gt;
          &lt;add name="myFaultExtension"
               type="AppServiceLib.SilverlightFaultBehavior,AppServiceLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/&gt;
        &lt;/behaviorExtensions&gt;
      &lt;/extensions&gt;
     &lt;endpointBehaviors&gt;
          &lt;behavior name="myFaultBehavior"&gt;
            &lt;**myFaultExtension**/&gt;
          &lt;/behavior&gt;
     &lt;/endpointBehaviors&gt;
  </code></pre>