Server-side Tcp Connection pooling

An internal customer was asking how to control connection pooling on the server side of WCF for the Tcp Transport.  There are two knobs to control this behavior.  The first controls how long a connection can stay open while waiting to be reused and can be set through the IdleTimeout property on the TcpConnectionPoolSettings object,…

0

SMSvcHost.exe Event Log ID 8 – An error occurred while dispatching a duplicated socket: this handle is now leaked in the process

Recently, I have worked with several internal and external customers that are hitting an odd error when using WCF’s TCP Port Sharing Service or Tcp Activation Service. The symptoms include client’s timing out during channel open, an event log entry on the server, and, in some cases, a server process that doesn’t ever respond to…

9

TCP Port sharing – Access is denied

I recently helped a customer who ran into this error: System.ServiceModel.CommunicationException: The service endpoint failed to listen on the URI ‘net.tcp://localhost/CalcultorService.svc/’ because access was denied.  Verify that the current user is granted access in the appropriate allowAccunts section of SMSvcHost.exe.config. —> System.ComponentModel.Win32Exception: Access is denied They had updated the <allowedAccounts> section of the smsvchost.exe.config file…

2