Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Underlying connection was closed

Reply
Thread Tools

Underlying connection was closed

 
 
samy
Guest
Posts: n/a
 
      03-03-2004
I have an application which invokes(calls) a webservice (on IIS 5.0 , windows 2K) every 10 seconds.
After a long time(about 4 hours),the call to the webservice fails with the error

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send
at System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest request
at System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest request
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters
at ..


Any suggestion

 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      03-03-2004
Hi have you checked this KB article?

http://support.microsoft.com/default...b;en-us;819450

Check also other support articles at at MS Support.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"samy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
I have an application which invokes(calls) a webservice (on IIS 5.0 ,
windows 2K) every 10 seconds.
After a long time(about 4 hours),the call to the webservice fails with the
error:

System.Net.WebException: The underlying connection was closed: An unexpected
error occurred on a send.
at System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at ...


Any suggestion ?


 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      03-04-2004
You may want to read following post too:
http://weblogs.asp.net/jan/archive/2.../28/63771.aspx

--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

"Teemu Keiski" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Hi have you checked this KB article?
>
> http://support.microsoft.com/default...b;en-us;819450
>
> Check also other support articles at at MS Support.
>
> --
> Teemu Keiski
> MCP, Microsoft MVP (ASP.NET), AspInsiders member
> ASP.NET Forum Moderator, AspAlliance Columnist
>
> "samy" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> I have an application which invokes(calls) a webservice (on IIS 5.0 ,
> windows 2K) every 10 seconds.
> After a long time(about 4 hours),the call to the webservice fails with the
> error:
>
> System.Net.WebException: The underlying connection was closed: An

unexpected
> error occurred on a send.
> at

System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
> request)
> at
>

System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebReques
t
> request)
> at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
> methodName, Object[] parameters)
> at ...
>
>
> Any suggestion ?
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Established connection aborted and underlying connection closed Apu Nahasapeemapetilon ASP .Net Web Services 0 11-06-2006 04:24 PM
The underlying connection was closed (Windows2003, .net 1.1 sp1) Jack Wright ASP .Net 3 12-06-2004 04:37 AM
Problems migrating applicacion from Intranet to Internet. Underlying connection was closed. Luis Esteban Valencia ASP .Net 0 10-26-2004 01:01 PM
RE: System.Net.WebException: The underlying connection was closed: Steven Cheng[MSFT] ASP .Net 4 04-08-2004 08:07 AM
Underlying connection was closed sumit ASP .Net 0 11-01-2003 11:28 AM



Advertisments