I have a simple ASMX webservice that connects to a SQL database. I also have accompanying webservice tester app.
I have tested both these components on my dev machine, and on my own Windows 2008 server. When I deploy it to the customer's server, the webservices service landing page works fine both being called on the server and remotely, however, the webservice tester will not work at all from any location. It throws an Exception
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive.
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at WebServiceTester.frmMain.btnCallWS_Click`
When the error occurs, nothing appears in the Windows Event Viewer, SQL Logs or IIS logs. Any ideas what could be causing this?