title: wcf enablewebscript element not recognised
body: <p>I am having a configuration issue with a server trying to get WCF services working. The compiler does not like <strong>enablewebscript</strong> as an option in a behaviour.</p>
  
  <p>Below is the section of web.config declaring the element</p>
  
  <pre><code>    &lt;behaviors&gt;
      &lt;serviceBehaviors&gt;
          &lt;behavior name="metadataAndDebug"&gt;
              &lt;serviceMetadata
                httpGetEnabled="true"
                httpGetUrl=""/&gt;
              &lt;serviceDebug
                httpHelpPageEnabled="true"
                includeExceptionDetailInFaults="true" /&gt;
          &lt;/behavior&gt;
          &lt;behavior name="AutoCompleteGet"&gt;
              &lt;serviceMetadata httpGetEnabled="true"/&gt;
          &lt;/behavior&gt;
      &lt;/serviceBehaviors&gt;
  
      &lt;endpointBehaviors&gt;
      &lt;behavior name="MyApp.Webservices.AspNetAjaxBehavior"&gt;
        &lt;enableWebScript/&gt;         
      &lt;/behavior&gt;          
    &lt;/endpointBehaviors&gt;        
  &lt;/behaviors&gt;
  </code></pre>
  
  <p>and the error reported by the compiler.</p>
  
  <pre><code>Parser Error Message: Invalid element in configuration. The extension name 'enableWebScript' is not registered in the collection at system.serviceModel/extensions/behaviorExtensions.
  </code></pre>
  
  <p>I have the following information on the server:
  - Windows Server Web Edition Service Pack 1
  - .NET Framework 3.5sp1 installed
  - Microsoft AJAX Extensions v1.0 installed</p>
  
  <p><strong>Note:</strong> I have only just turned on the WCF Activation in .NET Framework 3.0 this morning (as this is the first use of a WCF service on that server). It is after this activation that the error began. Prior to the activation, the service returned the expected 404 error message.</p>
  
  <p>Any thoughts on where to look, and why the installed service 3.5 framework appears not to be used?</p>