Re: An existing connection was forcibly closed by the remote host - Net 2.0

dave <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Hi,

After the console application has died, are you still able to call any web method in your web service?  I mean, is the listener still listening, or only that client has the problem?

It's funny cause to me, that kind of error would occur in a .Net remoting scenario, where you would hold a reference to a server object, with its KeepAlive expiration passed.

thanks,

dave Lacerte.

www.omniscient.ca


-----Original message-----
From: "Ainsley, Robert, ISD" [email protected]
Date: Wed, 10 Jan 2007 08:50:11 -0500
To: [email protected]
Subject: Re: [DOTNET-WEB] An existing connection was forcibly closed by the remote host - Net 2.0

> I'm getting a bit more information. Apparently, when the batch job dies,
> I'm getting the following error in the Application Event Log from the
> NET Runtime 2.0 Error Reporting:
>
> Event Type:     Error
> Event Source:   .NET Runtime 2.0 Error Reporting
> Event Category: None
> Event ID:       5000
> Date:           1/10/2007
> Time:           4:10:45 AM
> User:           N/A
> Computer:       SA1IWP1
> Description:
> EventType clr20r3, P1 securitizationupdate.exe, P2 1.0.0.0, P3 456455f3,
> P4 securitizationupdate, P5 1.0.0.0, P6 456455f3, P7 14, P8 2ff, P9
> system.net.webexception, P10 NIL.
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
> Data:
> 0000: 63 00 6c 00 72 00 32 00   c.l.r.2.
> 0008: 30 00 72 00 33 00 2c 00   0.r.3.,.
> 0010: 20 00 73 00 65 00 63 00    .s.e.c.
> 0018: 75 00 72 00 69 00 74 00   u.r.i.t.
> 0020: 69 00 7a 00 61 00 74 00   i.z.a.t.
> 0028: 69 00 6f 00 6e 00 75 00   i.o.n.u.
> 0030: 70 00 64 00 61 00 74 00   p.d.a.t.
> 0038: 65 00 2e 00 65 00 78 00   e...e.x.
> 0040: 65 00 2c 00 20 00 31 00   e.,. .1.
> 0048: 2e 00 30 00 2e 00 30 00   ..0...0.
> 0050: 2e 00 30 00 2c 00 20 00   ..0.,. .
> 0058: 34 00 35 00 36 00 34 00   4.5.6.4.
> 0060: 35 00 35 00 66 00 33 00   5.5.f.3.
> 0068: 2c 00 20 00 73 00 65 00   ,. .s.e.
> 0070: 63 00 75 00 72 00 69 00   c.u.r.i.
> 0078: 74 00 69 00 7a 00 61 00   t.i.z.a.
> 0080: 74 00 69 00 6f 00 6e 00   t.i.o.n.
> 0088: 75 00 70 00 64 00 61 00   u.p.d.a.
> 0090: 74 00 65 00 2c 00 20 00   t.e.,. .
> 0098: 31 00 2e 00 30 00 2e 00   1...0...
> 00a0: 30 00 2e 00 30 00 2c 00   0...0.,.
> 00a8: 20 00 34 00 35 00 36 00    .4.5.6.
> 00b0: 34 00 35 00 35 00 66 00   4.5.5.f.
> 00b8: 33 00 2c 00 20 00 31 00   3.,. .1.
> 00c0: 34 00 2c 00 20 00 32 00   4.,. .2.
> 00c8: 66 00 66 00 2c 00 20 00   f.f.,. .
> 00d0: 73 00 79 00 73 00 74 00   s.y.s.t.
> 00d8: 65 00 6d 00 2e 00 6e 00   e.m...n.
> 00e0: 65 00 74 00 2e 00 77 00   e.t...w.
> 00e8: 65 00 62 00 65 00 78 00   e.b.e.x.
> 00f0: 63 00 65 00 70 00 74 00   c.e.p.t.
> 00f8: 69 00 6f 00 6e 00 20 00   i.o.n. .
> 0100: 4e 00 49 00 4c 00 0d 00   N.I.L...
> 0108: 0a 00                     ..
>
>
> When I click the link in the Event Viewer, it goes to the MS Help and
> Support Center and tells me:
>
> We're sorry
> There is no additional information about this issue in the Error and
> Event Log Messages or Knowledge Base databases at this time. You can use
> the links in the Support area to determine whether any additional
> information might be available elsewhere.
>
> Does anyone have any idea what the above error messsage means?
>
> Thanks,
>
> Bob
>
>
> > -----Original Message-----
> > From: Discussion of building .NET applications targeted for
> > the Web [mailto:[email protected]] On Behalf Of
> > Ainsley, Robert, ISD
> > Sent: Wednesday, January 03, 2007 8:27 AM
> > To: [email protected]
> > Subject: [DOTNET-WEB] An existing connection was forcibly
> > closed by the remote host - Net 2.0
> >
> > I've got a console application that runs at the end of a
> > series of jobs.
> > Depending upon the time it takes previous jobs to run, it
> > usually starts execution between 02:00 and 05:00 local time.
> > It does a series of web method invocations to a web service
> > on the same server.
> >
> > About once a week or so, the console application dies with:
> >
> > "Unhandled Exception: System.Net.WebException: The underlying
> > connection was closed: A connection that was expected to be
> > kept alive was closed by the server.
> > ---> 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"
> >
> <snip>
>
>
> ***************************************************************************> **
> If you are not the intended recipient of this e-mail, please notify
> the sender immediately. The contents of this e-mail do not amend
> any existing disclosures or agreements unless expressly stated.
> ***************************************************************************> **
>
> ===================================
> This list is hosted by DevelopMentor®  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.