title: How do I fix WCF "Requested Upgrade is not supported by net.tcp" error?
body: <p>I have an asp.net mvc 3 application running on my local IIS7. This has a reference to a WCF service that works great. </p>
  
  <p>I recently added a reference to another service hosted in the same place, and I get the following error when a method is invoked:</p>
  
  <blockquote>
    <p>The requested upgrade is not supported by 'net.tcp://webdev02:15001/CommonService/Service.svc/mex'. This could
    be due to mismatched bindings (for example security enabled on the
    client and not on the server).</p>
  </blockquote>
  
  <p>The web.config at the service has identical settings between the bindings for the first working service and the second non-working service. Same story at my client.</p>
  
  <p>I'm also using my windows credentials to connect, like so:</p>
  
  <pre><code>svc.ClientCredentials.Windows.ClientCredential.UserName = "myname";
  svc.ClientCredentials.Windows.ClientCredential.Password = "mypass";
  </code></pre>
  
  <p>Also, I can call both services successfully using the WcfTestClient. Any thoughts as to why one would not be working for me? Thanks in advance for your help.</p>