title: NetTcpBinding in IIS: Unknown protocol ID 'net.tcp'
body: <p>I'm trying to host a NetTcp endpoint for a WCF service but can seem to get it to work. Whenever I try to send a message to the endpoint, the application pool crashes and I get the follow error in the Event Log:</p>
  
  <blockquote>
    <p>An error occurred while trying to read and instantiate the configured ProcessHandlerType.</p>
    
    <p>Exception: System.ArgumentException</p>
    
    <p>Message: Unknown protocol ID 'net.tcp'.</p>
    
    <p>StackTrace:    at System.Web.Hosting.ProcessHost.StartProcessProtocolListenerChannel(String protocolId, IListenerChannelCallback listenerChannelCallback)</p>
  </blockquote>
  
  <p>I'm using Windows Server 2012 with IIS 8. The application pool runs in .NET 2.0 Integrated Mode.
  The Web Application has net.tcp as enabled protocol and the site that hosts the application has a net.tcp binding added with binding information 808:*. The feature Non-Http activation is enabled for .NET Framework 3.5 and the feature TCP activation is enabled for .NET Framework 4.5. </p>
  
  <p>At first I couldn't get the NetTcp-endpoint working at all but with the help of the article located at <a href="http://support.microsoft.com/kb/2803161" rel="nofollow">http://support.microsoft.com/kb/2803161</a> I managed to atleast GET the Mex http-endpoint. (I used Method 1 of the article).</p>
  
  <p>Can anybody shed some light on a possible cause? Help would be much appreciated! </p>
  
  <p><strong>Update:</strong> When I change the application pool to .NET 4.0 integrated mode it works, unfortunately because of an old codebase, this brings other complications. So I still would like to make it work on a .NET 2.0 application pool.</p>