An error occurred while receiving the HTTP response to http://production/Services/AccountService.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
What could be the reason for this exception? I have exception details enabled on my ASP.NET site web.config file, where I host the WCF service.
I have a second service that's just for testing purposes that just returns an int, which works flawlessly.
Also, in development, meaning both the consuming and the service application are on the same local computer, both services work. Which makes testing for this error that much harder :(
Any advice as to how to debug in this particular situation?
I feel your pain with WCF's lack of useful exception detail. What you need to do is enable tracing which provides in-depth debugging information.
Have a look at the Recommended Settings for Tracing and Message Logging on MSDN...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With