I have a .NET 4.0 Windows client that is consuming a WCF service that is hosted in IIS7 on a Windows Server 2008 Standard machine.
My Windows client application calls the WCF service to perform database synchronization. The process can take some time depending on the amount of data that is being synchronized.
After about 3 minutes and 15 seconds, I receive the following exception:
Exception Type: System.ServiceModel.ProtocolException, System.ServiceModel, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message: "The connection to the website was closed by the site or by one of its servers"
Inner Exception Type: System.Net.WebException, System, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089
Inner Exception Message: "The remote server returned an error: (500) Internal Server Error."
I can't figure out what is wrong. I have tried the following:
- In IIS > my site > feature view > Error Pages > select 500 error > edit > selected detail error. Nothing extra was shown.
- Enabled WCF tracing on the server and the client. Server trace log didn't produce any errors and the client trace log generated the error noted above
- Increased the follow
View Complete Post