Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Error An existing connection was forcibly closed by the remote hos

 
 
Thread Tools Display Modes
Old 03-15-2007   #1 (permalink)
AE
Guest


 

Error An existing connection was forcibly closed by the remote hos

Hi misters,

I have asp.net 2.0 application, and services WCF. When I call method of
service, its appears this error:

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

[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) +267
System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +21
System.Net.Connection.SyncRead(HttpWebRequest request, Boolean
userRetrievedStream, Boolean probeRead) +301

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

[CommunicationException: An error occurred while receiving the HTTP response
to http://localhost:2121/TINSA.Tareas/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.]

TINSA.PantallaControl.Bfll.PantallaControlBfll.ObtenerTareasNoFinalizadasPorUsuario()
in D:\Proyectos\WorkFlow.Net\Nivel Componentes Aplicacion\Componentes
Aplicacion\TINSA.PantallaControl\Bfll\PantallaControlBfll.cs:80

Any help please ??
Old 04-24-2007   #2 (permalink)
Newbie


  armando_moran is offline

It sounds like a serialization problem, try to mark the returned data as DataContract.
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Connection Closed Error Bob .NET General 0 4 Weeks Ago 01:33 PM
VB.NET application cliick-once deployment via internet - Error - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. Peri .NET General 2 02-29-2008 02:46 AM
Remote Desktop Connection Protocol Error CountZer0 Vista networking & sharing 1 09-28-2007 12:56 PM
Remote Desktop Connection has stopped working Error Lila Godel Vista networking & sharing 8 06-16-2007 10:27 PM
Remote Desktop Connection Error Jhjm32087 Vista General 5 06-09-2006 06:18 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50