473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

An existing connection was forcibly closed by the remote host

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.
Nov 27 '06 #1
4 3270
yeah I reccomend using VB6 and classic ADO

VB 2005 isn't production ready; neither is 2002 or 2003

-Aaron
Vicente García wrote:
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.
------=_NextPart_000_0006_01C71269.FD32F630
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1275

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hello!! sorry for my english,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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
"</FONT><FONT face=Arial size=2>An existing connection was forcibly closed by
the remote host" exception, and then the CPU usage&nbsp;was&nbsp;95 %. I don't
know why it happens :(&nbsp; 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&nbsp;with the socket...but three days after!! because the
first days works perfectly!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>May any one help me, please??</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>Vicente.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0006_01C71269.FD32F630--
Nov 27 '06 #2
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.

Nov 27 '06 #3
ROFL

where'd you come up with that (guess) from?

I mean seriously; I show TCP/IP as 'disabled by default' and 'Shared
Memory' is the default

-Aaron
BK wrote:
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.
Nov 28 '06 #4
I'll try it,
many thanks!
"BK" <bk******@hotmail.comescribió en el mensaje
news:11**********************@f16g2000cwb.googlegr oups.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.

Nov 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike | last post by:
VB .NET 2003, Pocket PC 2003, CF 1.0 SP 2 Only when I use a proxy server, I'm getting this error when attempting to write data to a Stream object from an HTTPWebRequest object....
26
by: Rajeev Tipnis | last post by:
http://support.microsoft.com/default.aspx?scid=kb;en- us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On...
0
by: SisAndz | last post by:
Hello, I'm trying to do a secure connect to the site https://212.77.100.18/p/ with ..net 2.0 HttpWebRequest class, unfortunately for some reason I'm not able to do that - WebException is thrown...
0
by: Sanjay T | last post by:
Hi, We are using ASP.Net 2005 and SQL Server 2005. We are storing sessions in the database. From time to time we get the following exception in the application while the ASP.Net session tries...
1
by: balaya | last post by:
was an error downloading 'https://pushmxtest.equitynational.com/EquityNational/PushMXService.svc/secure'. The underlying connection was closed: An unexpected error occurred on a receive. Unable...
4
by: Anbu | last post by:
Hi All, I'm using the Cassini component in my desktop application to create a web site to host the web services. The application works fine in normal scenario. If the system is kept idle for...
1
by: Jim Hubbard | last post by:
We are using a .Net 2.0 app that connects to a SQL 2005 Express DB and we keep getting this message on the clients. Has anyone seen this error or a solution to it?
1
by: rhepsi | last post by:
hii all, When im trying to upload all the resized photos from the local server onto the live ftp server, im getting an error stating tht: "An existing connection was forcibly closed by the...
2
by: OrcaDK | last post by:
Hi I've started receiving sporadic SqlExceptions throughout my .NET applications (crossing ASP.NET, Windows Services, Winforms - doesn't seem application code specific):...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.