WCF host on Windows service: System.Net.WebException: remote server returned an error: (404) Not found

Many WCF services are hosted in a single window. When the Windows service is just running, the wcf service endpoints are working fine. After long work, the wcf service is disabled. Although, this time the load is not heavy, but instead the services are down.

After I am at the endpoint through an Internet browser or client application, they both throw the following exception.

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://serviceip/servicename that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found. 

I have no idea about this problem. Does anyone know anything about this, help. thanks in advance.

+4
source share
2 answers

This usually means that your settings are not synchronized or the hosting service can be changed. Check and make sure your parameter (if the host is case sensitive), and then make sure you pass the correct values.

+1
source

Can you try to enable tracing in WCF services http://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx ?

0
source

All Articles