Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Error An existing connection was forcibly closed by the remote hos

 
 
Old 03-15-2007   #1 (permalink)
AE


 
 

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 ??

My System SpecsSystem Spec
Old 04-24-2007   #2 (permalink)


Vista
 
 

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

Thread Tools


Similar Threads
Thread Forum
FTP Connection Closed Error .NET General
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. .NET General
Remote Desktop Connection Protocol Error Vista networking & sharing
Remote Desktop Connection has stopped working Error Vista networking & sharing
Remote Desktop Connection Error Vista General


Vista Forums 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 Ltd

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