title: Running WCF Service on Windows Web Server 2008 R2
body: <p>I have a WCF service application with most basic settings working properly on my local computer. I had the error below when i deploy it on my test application server;</p>
  
  <p>Module  IIS Web Core
  Notification    Unknown
  Handler Not yet determined
  Error Code  0x80070032
  Config Error    The configuration section 'system.serviceModel' cannot be read because it is missing a section declaration</p>
  
  <p>When i tried to deploy it test db server it worked properly. </p>
  
  <p>After all searching i ended up with the problem on my test application server is that it has no Application Server role.</p>
  
  <p>It seems there is no Application Server Role on Window Web Server 2008 R2 operation system. </p>
  
  <p>So is there anyway / workaround to make my service work on Window Web Server 2008 R2 ?</p>
  
  <p>Thanks.</p>
  
  <hr>
  
  <p>Edit: I have two test machines. One for database (Windows Server 2008 R2 Standard) one for applications (Windows Web Server 2008 R2)</p>
  
  <p>My web.config file content is below;</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  
    &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
    &lt;system.serviceModel&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior&gt;
            &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
            &lt;serviceMetadata httpGetEnabled="true"/&gt;
            &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
    &lt;/system.serviceModel&gt;
   &lt;system.webServer&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;/system.webServer&gt;
  
  &lt;/configuration&gt;
  </code></pre>