Exception while using port sharing with Net.Tcp Port Sharing Service RRS feed

  • Question

  • Hi,
    I use port sharing for my WCF services.
    It works fine in most cases.
    Sometimes, after client works with specific service for some hours I get an exception in system event log and the service is not available any more. All these hours the client performs the same operation, nothing changes.
    Does anyone can help me to find out what happens ?
    I really clueless...

    The exception in system event log looks like this:

    Event Type: Error
    Event Source: SMSvcHost
    Event Category: Sharing Service
    Event ID: 8
    Date:  10/11/2008
    Time:  23:56:07
    Computer: BORIS
    An error occurred while dispatching a duplicated socket: this handle is now leaked in the process.
     ID: 5612
     Source: System.ServiceModel.Activation.TcpWorkerProcess/32544351
     Exception: System.TimeoutException: This request operation sent to did not receive a reply within the configured timeout (00:01:00).  The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message.  Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

    Thanks in advance,
    • Edited by Boris Kramer Wednesday, November 12, 2008 9:29 AM
    Wednesday, November 12, 2008 9:20 AM