WCF in Azure Load Balanced servers RRS feed

  • Question

  • User-1361715659 posted


    We are currently testing our website in Azure.

    There are two web servers with one load balancer.

    We configured the website and the WCF in both server.

    However, the error as the image below appears once a while.


    Is there anything we need to set to make it work in the load balancer environment?

    It works all the time in our testing server without load balancer.


    Thursday, January 4, 2018 10:33 AM

All replies

  • User475983607 posted

    The channel faulted and it was not handled.  Your WCF service should catch the error and return a message (fault contract) to the client.  The client must close/abort the channel and create a new channel.

    Basically, you need to implement proper error handling on both the server and client.

    Thursday, January 4, 2018 7:57 PM
  • User1168443798 posted

    Hi huislaw,<o:p></o:p>

    To check the real error, I would suggest you enable Configuring Tracing at both client and service side. <o:p></o:p>

    You could share us the error log.<o:p></o:p>

    Best Regards,<o:p></o:p>


    Friday, January 5, 2018 5:31 AM