I was getting this error at a customer with a BizTalk WCF receive location (isolated): The address of the location was correct and running. When actually removing, or in my case renaming the uri address in the receive location, I still got an error but slightly different:
The second error is the expected error when the address is incorrect. After re-deploying, recompiling, everything the problem still persisted. Then the other ports in the same application pool started to complain with: “The Messaging Engine failed to register an adapter “WCF-BasicHttp”. Details:
“Registering multiple adapter types within the same process is not a supported configuration. For e.g. HTTP and SOAP receive adapters cannot co-exist in the same process”.
This error was not part of my problem. But it leads to Sandro’s blog page:
And then to Saravana:
Multiple Isolated Host (Host Instances) – Multiple Virtual directories – different adapters, what are the rules?
But the solution was much more simpler. Somehow my svc file got changed. Open it in notepad and change “BasicHttpHostFactory” or “CustomWebServiceHostFactory” to “CustomWebServiceHostFactory“. THAT’S IT!
I don’t know why the svc changed. some tfs, regenerating webservice issue?