Home All Groups Group Topic Archive Search About

An existing connection was forcibly closed by the remote host

Author
27 Nov 2006 8:21 PM
Vicente_García
Hello!! sorry for my english,

I've made an application that ran correctly for 3 days, It's a service, however in the third day the application failed because of "An existing connection was forcibly closed by the remote host" exception, and then the CPU usage was 95 %. I don't know why it happens :(  The service is always runs and other application works with the service using sockets, the exception occur when the service tried to send a message with the socket...but three days after!! because the first days works perfectly!

May any one help me, please??
Thanks in advance.
Vicente.

Author
27 Nov 2006 9:31 PM
BK
Disregard Aaron's post, he meant to say he's not ready for production
programming.  In the mean time,  for a serious reply, there is a
setting in the SQL Configuration Manager, on TCP/IP Protocol (native):

KeepAlive and
KeepAliveInterval

that should help you.  Set them zero, eg no keepalive checking.
Author
28 Nov 2006 5:53 AM
Vicente García
I'll try it,
many thanks!
Show quoteHide quote
"BK" <bkunn***@hotmail.com> escribió en el mensaje
news:1164663118.902928.209660@f16g2000cwb.googlegroups.com...
> Disregard Aaron's post, he meant to say he's not ready for production
> programming.  In the mean time,  for a serious reply, there is a
> setting in the SQL Configuration Manager, on TCP/IP Protocol (native):
>
> KeepAlive and
> KeepAliveInterval
>
> that should help you.  Set them zero, eg no keepalive checking.
>