Underlying connection was closed

S

samy

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.GetWebResponse(WebRequest request
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters
at ..


Any suggestion
 
T

Teemu Keiski

Hi have you checked this KB article?

http://support.microsoft.com/default.aspx?scid=kb;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

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.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at ...


Any suggestion ?
 
J

Jan Tielens

You may want to read following post too:
http://weblogs.asp.net/jan/archive/2004/01/28/63771.aspx

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

Teemu Keiski said:
Hi have you checked this KB article?

http://support.microsoft.com/default.aspx?scid=kb;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

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.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebReques
t
request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at ...


Any suggestion ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top