I am trying to troubleshoot a "connection was forcibly closed by the remote host" error on a WCF client accessing a WCF self-hosted service. I was looking at the httperr logs in System32\LogFiles\HTTPERR on the service-side machine and each time I see that error on my client, I see entries in the log with my service's endpoint URI. The reason is "Request_Cancelled".
I can't find anything anywhere about what that reason signifies. I can guess, but I'd like to know for sure, as it must have some relation to the errors I am seeing in my client.
What is "Request_Cancelled" in the HTTPERR log? And as a bonus, can you shed any extra light on my WCF issues?
Request_cancelled might be a timeout.
By default it should be
Try set these settings in your web.config. It will add further logging to your web service.
At your system.serviceModel section
and add system.diagnostics section. It will save a log to c:\temp\wcfServiceLog.svc