System.ArgumentException: The ‘result’ argument must be of type Message.

Posted by

if you are using WCF discovery and announcement features beware of this Microsoft known problem in WCF with quite severe symptoms like mentioned in the KB given below.

  1. Hits the following exception in an infinite loop
  2. Network storms
  3. Generates a high CPU usage even after FindCompleted is called
  4. Keeps sending SOAP Fault exception being sent over with .NET 4.5
  5. High multicast traffic.

please check the following KB. it describes different workarounds and solution to avoid this exception.