title: Calling Action: ContractFilter mismatch at the EndpointDispatcher
body: <p>I'm looking on this issue for hours. I try to get a WCF service running and now it comes down to a ContractFilter-Mismatch-Error wit the Action "<a href="http://tempuri.org/ISystemService/LogIn" rel="nofollow noreferrer">http://tempuri.org/ISystemService/LogIn</a>". Here is the relevant part of the client config:</p>
  
  <pre><code>&lt;bindings&gt;
    &lt;netTcpBinding&gt;
      &lt;binding name="netTcpBindingConfig_TimeRegistrationSystemService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"&gt;
              &lt;security mode="Transport"&gt;  
                  &lt;transport clientCredentialType="Windows" /&gt;  
              &lt;/security&gt;
          &lt;/binding&gt;
          &lt;binding name="netTcpBindingConfig_SystemService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"&gt;
              &lt;security mode="Transport"&gt;  
                  &lt;transport clientCredentialType="Windows" /&gt;  
              &lt;/security&gt;
          &lt;/binding&gt;
    &lt;/netTcpBinding&gt;    
  &lt;/bindings&gt;
  &lt;client&gt;
    &lt;endpoint address="net.tcp://mysrv.myteam.local:54520/MyCompany.Services.TimeRegistrationSystemService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBindingConfig_SystemService" contract="SystemService.ISystemService" name="NetTcpBindingBinding_ISystemService" /&gt;
    &lt;endpoint address="net.tcp://mysrv.myteam.local:54520/MyCompany.Services.SystemService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBindingConfig_TimeRegistrationSystemService" contract="TimeRegistrationSystemService.ITimeRegistrationSystemService" name="NetTcpBindingBinding_ITimeRegistrationSystemService" /&gt;      
  &lt;/client&gt; 
  </code></pre>
  
  <p>and here the server's config - binding configuration:</p>
  
  <pre><code>&lt;bindings&gt;
      &lt;netTcpBinding&gt;
          &lt;binding name="netTcpBindingConfig_OtherInterfaceService"&gt;
              &lt;security mode="Transport"&gt;  
                  &lt;transport clientCredentialType="Windows" /&gt;  
              &lt;/security&gt;
          &lt;/binding&gt;
          &lt;binding name="netTcpBindingConfig_TimeRegistrationSystemService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"&gt;
              &lt;security mode="Transport"&gt;  
                  &lt;transport clientCredentialType="Windows" /&gt;  
              &lt;/security&gt;
          &lt;/binding&gt;
          &lt;binding name="netTcpBindingConfig_SystemService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"&gt;
              &lt;security mode="Transport"&gt;  
                  &lt;transport clientCredentialType="Windows" /&gt;  
              &lt;/security&gt;
          &lt;/binding&gt;
    &lt;/netTcpBinding&gt;      
  &lt;/bindings&gt;
  </code></pre>
  
  <p>server's config - services:</p>
  
  <pre><code>&lt;service name="MyCompany.Services.EasyLogicInterfaceService" behaviorConfiguration="release"&gt;
      &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="netTcpBindingConfig_EasyLogicInterfaceService" contract="MyCompany.Services.IEasyLogicInterfaceService"&gt;          
      &lt;/endpoint&gt;        
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="net.tcp://mysrv.myteam.local:54520/MyCompany.Services.EasyLogicInterfaceService.svc/" /&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service&gt;
    &lt;service name="MyCompany.Services.TimeRegistrationSystemService" behaviorConfiguration="release"&gt;
      &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="netTcpBindingConfig_TimeRegistrationSystemService" contract="MyCompany.Services.ITimeRegistrationSystemService"&gt;          
      &lt;/endpoint&gt;        
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="net.tcp://mysrv.myteam.local:54520/MyCompany.Services.SystemService.svc/" /&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service&gt;
   &lt;service name="MyCompany.Services.SystemService" behaviorConfiguration="release"&gt;
      &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="netTcpBindingConfig_SystemService" contract="MyCompany.Services.ISystemService"&gt;          
      &lt;/endpoint&gt;        
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="net.tcp://mysrv.myteam.local:54520/MyCompany.Services.SystemService.svc/" /&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service&gt;
  </code></pre>
  
  <p>and the behaviors:</p>
  
  <pre><code>&lt;serviceBehaviors&gt;
      &lt;behavior name = "debug"&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
      &lt;/behavior&gt;
      &lt;behavior name = "release"&gt;
        &lt;serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" /&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  </code></pre>
  
  <p>I first thought it might be a typo but I don't find it (am I blind?!?). I already updated my service references in the client solution and published both, the server code and the client code, afterwards. And also, I already put all relevant strings in the client config from the server config (binding configuration, endpoint addesses etc.) by copy'n'paste to avoid a typo.</p>
  
  <p>Than I run through a lot of answers here on stackoverflow without finding any solving my problem.</p>
  
  <p>I can run the client and the server code locally without problems. The problems occur only after deployment.</p>
  
  <p>Tracking the call by system.diagnostics doesn't reveal something else than this error message.</p>
  
  <p>Do you see more than I do or do you know any issues wich triggers this errors? When this error comes up, a connection between the client and the server already is succesfully established, right? So it cannot be a problem with Kerberos or something...</p>
  
  <p>I apologize in advance if it turns out that it really is just a typo. But I don't find any...</p>
  
  <p>Best regards!</p>