title: Publishing WCF .NET 3.5 to IIS 6 (Windows Server 2003)
body: <p>I've been developing a WCF web service using .NET 3.5 with IIS7 and it works perfectly on my local computer. I tried publishing it to a server running IIS 6 and even though I can view the WSDL in my browser, the client application doesn't seem to be connecting to it correctly. I launched a packet sniffing app (Charles Proxy) and the response for the first message comes back to the client empty (0 bytes). Every message after the first one times out.</p>
  
  <p>The WCF service is part of a larger application that uses ASP .NET 3.5. That application has been working fine on IIS 6 for awhile now so I think it's something specific to WCF. I also tried throwing an exception in the SVC file to see if it made it that far and the exception never got thrown so I have a feeling it's something more low level that's not working. </p>
  
  <p>Any thoughts? Is there anything I need to install on the IIS5 server? If so how am I still able to view the WSDL in my browser?</p>
  
  <p>The service is being consumed via an SVC file using basicHttpBinding</p>
  
  <p>Here's the meat of the Web.Config (let me know if you need any other part of it):</p>
  
  <pre><code>&lt;system.net&gt;
    &lt;defaultProxy&gt;
      &lt;proxy usesystemdefault="False" proxyaddress="http://127.0.0.1:80" bypassonlocal="True"/&gt;
    &lt;/defaultProxy&gt;
  &lt;/system.net&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;system.serviceModel&gt;
    &lt;services&gt;
      &lt;service name="Nexternal.Service.XMLTools.VNService" behaviorConfiguration="VNServiceBehavior"&gt;
        &lt;!--The first endpoint would be picked up from the confirg
        this shows how the config can be overriden with the service host--&gt;
        &lt;endpoint address="" binding="basicHttpBinding" contract="Nexternal.Service.XMLTools.IVNService" /&gt;
        &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" name="mexHttpBinding" /&gt;
      &lt;/service&gt;
    &lt;/services&gt;
    &lt;behaviors&gt;
      &lt;serviceBehaviors&gt;
        &lt;behavior name="VNServiceBehavior"&gt;
          &lt;serviceMetadata httpGetEnabled="true" /&gt;
          &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
        &lt;/behavior&gt;
      &lt;/serviceBehaviors&gt;
    &lt;/behaviors&gt;
    &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" /&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>