title: TransactionFlowAttribute error with WCF Service
body: <p>I have a WCF service that I have configured on my local dev environment and run through IIS using a self signed certificate so I can support SSL and transactions using a wsHttpBinding.</p>
  
  <p>Everything works fine on my local Win7 machine running IIS 7.5.</p>
  
  <p>I am deploying my services app to a Win2008 R2 server running IIS 7.5.</p>
  
  <p>The app pool is configured for .NET 4.0 integrated.</p>
  
  <p>When I run the build and deploy to my Dev server one of the services keeps throwing an InvalidOperation exception that states that the 'WebHttpBinding' my service is using doesn't have the transactionflowattribute set on it.</p>
  
  <p>Here are the only 2 bindings I have configured in my web.config:</p>
  
  <pre><code>&lt;bindings&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding name="BasicHttpBinding_IRetrieval" closeTimeout="infinite" openTimeout="infinite" receiveTimeout="infinite" sendTimeout="infinite" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"&gt;
        &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /&gt;
        &lt;security mode="None"&gt;
          &lt;transport clientCredentialType="None" proxyCredentialType="None" realm="" /&gt;
          &lt;message clientCredentialType="UserName" algorithmSuite="Default" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
      &lt;wsHttpBinding&gt;
          &lt;binding name="wsHttpEndpointBinding" transactionFlow="true"&gt;
            &lt;security mode="Transport"&gt;
              &lt;transport clientCredentialType="None" /&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
      &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  </code></pre>
  
  <p>Why does the error say that the configured WebHttpBinding doesn't have the attribute set? I don't even have that type of binding specified in the config.</p>
  
  <p>I have another service that also uses the wsHttpBinding I have declared here and that one works fine. So at this point I am pretty much stuck as to why one of them works and the other is throwing the error.</p>
  
  <p>I do have the services tagged as transaction mandatory, and I have everything setup to account for that. </p>
  
  <p>Anyone have any ideas why one of my services is borking and the other is fine?</p>