views:

35

answers:

0

Hi everyone,

There is web site that is consuming wcf service and it's been working good for some time.

I changed one ws method, by adding to it one parameter. Prior to copying files to destination, i built projects, published them locally, removed config files so they don't interfere with existing files, stopped services, copied files and that's it.

Now, when I'm trying to access a page from that site and I'm getting exception:

[SocketException (0x2746): An existing connection was forcibly closed by the remote host] System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +232

[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.] System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +7115407 System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +20 System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) +435

[WebException: The underlying connection was closed: An unexpected error occurred on a receive.] System.Net.HttpWebRequest.GetResponse() +1126 System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +81

[CommunicationException: An error occurred while receiving the HTTP response to http://some-address/service.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.]

Any clues?