Reputation:
Many WCF services hosted in one windows. When windows service is just running, the wcf service endpoints are working well. After a long-time running, the wcf service is down. Though, this time the load is not heavy but instead, the services down.
After down, when I visit the endpoint through Internet browser or client app, 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. Do anyone know anything about this, pls help. thanks in advance.
Upvotes: 4
Views: 5060
Reputation: 1389
This usually means that your parameters are out of sync or the hosting service may have been modified. Check and make sure your parameters case (if the host is case sensitive) and then ensure you are passing the correct values.
Upvotes: 1
Reputation: 2278
Can you try to turn on tracing on WCF services http://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx?
Upvotes: 0