Throwing an exception in a WCF service throws a CommunicationException -


Whenever I put an exception to my service, another exception is thrown right after:

  System.ServiceModel.CommunicationException: error reading from pipe: unrecognized error 109 (0x6d). --- & gt; System.IO.PipeException: There was an error reading from pipe: unrecognized error 109 (0x6d).  

I am implementing IErrorHandler so that I can log all unsociable exceptions (using log4net):

  bool IErrorHandler.HandleError (exception error ) {If (! (Error is FaultException)) {logger.Fatal ("uncontrollable exception", error); }         return false; }  

Why have any thoughts?

The problem was the customer, whenever I return the mistake, I am aborting on the channel.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -