O
OpHi
Hi,
I have a client (w2ksrv) that makes calls to a web service
(w2k3) and occasionally - 1 in 20 or so requests - I was
receiving the following error:
"The underlying connection was closed, an unexpected error
occurred on a receive"
This only seemed to happen after the web service had been
left idle for +1hr. After scouring several newsgroup posts
on google I found one where someone at Microsoft
recommended turning http keep-alives off. I did this by
overloading the GetWebRequest of my proxy class and this
appeared to resolve the issue.. until 5 mins ago, when I
received this error:
"The underlying connection was closed, an unexpected error
occurred on a send"
So, it now appears the error occurs on a send. This is
apparently a problem with the .NET framework itself where
it tries to make a request on a closed channel. On this
page: http://support.microsoft.com/default.aspx?scid=kb;en-
us;819450 it says I have to contact Microsoft Product
Support Services for a fix - We are not willing to pay for
this.
I have the same web service running on w2ksrv and have not
experienced this problem.
Please Microsoft can you post a solution to this?
related links:
http://www.cephas.net/blog/
http://www.io.com/~maus/HttpKeepAlive.html
http://support.microsoft.com/default.aspx?scid=kb;en-
us;821156
http://support.microsoft.com/default.aspx?scid=kb;en-
us;819450
Thanks,
OpHi
I have a client (w2ksrv) that makes calls to a web service
(w2k3) and occasionally - 1 in 20 or so requests - I was
receiving the following error:
"The underlying connection was closed, an unexpected error
occurred on a receive"
This only seemed to happen after the web service had been
left idle for +1hr. After scouring several newsgroup posts
on google I found one where someone at Microsoft
recommended turning http keep-alives off. I did this by
overloading the GetWebRequest of my proxy class and this
appeared to resolve the issue.. until 5 mins ago, when I
received this error:
"The underlying connection was closed, an unexpected error
occurred on a send"
So, it now appears the error occurs on a send. This is
apparently a problem with the .NET framework itself where
it tries to make a request on a closed channel. On this
page: http://support.microsoft.com/default.aspx?scid=kb;en-
us;819450 it says I have to contact Microsoft Product
Support Services for a fix - We are not willing to pay for
this.
I have the same web service running on w2ksrv and have not
experienced this problem.
Please Microsoft can you post a solution to this?
related links:
http://www.cephas.net/blog/
http://www.io.com/~maus/HttpKeepAlive.html
http://support.microsoft.com/default.aspx?scid=kb;en-
us;821156
http://support.microsoft.com/default.aspx?scid=kb;en-
us;819450
Thanks,
OpHi