There was no endpoint listening at http://localhost:49481/Marketing.svc that could accept the message
- by duckmike
I have a Marketing service running locally through port 49481 and through IIS on port 65000. Either way when I try to debug into that service, I get an error message - 
{"There was no endpoint listening at http:/localhost:49481/Marketing.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."}
My inner exception is - 
{"The remote server returned an error: (404) Not Found."}
I can open that service address, http:/localhost:49481/Marketing.svc, through a browser and I get a message that it's running ok.
My config file is set up like - 
    <endpoint address="http://localhost:49481/Marketing.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMarketing"
        contract="SunriseMarketing.IMarketing" name="BasicHttpBinding_IMarketing" />
What am I missing?