WCF - The remote endpoint no longer recognizes this sequence
<p>I was having a very strange issue calling a Method over WCF. The web and service code made it through development, working fine on the local developer machines and the QA server. But when published to the UAT server as a Windows Service returned:</p>

<blockquote>
  <p>The remote endpoint no longer recognizes this sequence. This is most
  likely due to an abort on the remote endpoint. The value of
  wsrm:Identifier is not a known Sequence identifier. The reliable
  session was faulted.</p>
</blockquote>

<p>The methods themselves worked fine, they built the transport objects from database calls then threw the exception when returning the object. </p>

<p>There is a similar <a href="https://stackoverflow.com/questions/2652601/communicationexception-with-not-recognized-sequence-message-in-wcf">question</a> with the same error, but none of the suggested solutions applied. The exact same code worked fine on all machines but threw the exception when installed on the server. </p>