DualHttpBinding with windows service not working RRS feed

  • Question

  • I have created a WCF service with DualHttpBinding. Now i'm trying to deploy using windows service, the problem is that the application is getting hanged whenever i call 6-7 functions and then the service stops responding. There is no clear pattern of error. I have checked the tracelog, but no error is there. The service goes into the faulted state. The service works fine when i run it from the code.

    Monday, September 10, 2012 5:01 AM


  • Hi,

    According to your description, I cannot reach the solution directly.

    To narrow down the problem , suggest you to host a basichttpbinding in windows service and have a try.

    More, It seems to be a memory problem ,I suggest you to  set the callback handler to null after every call.

    • Edited by Otomii Lu Tuesday, September 11, 2012 8:51 AM
    • Marked as answer by Otomii Lu Monday, September 17, 2012 2:58 AM
    Tuesday, September 11, 2012 8:49 AM