473,405 Members | 2,171 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,405 software developers and data experts.

computer sleep and db connections

How would you guys handle this? We have an app that needs to keep an open
connection to a SQL 2000 Server, (no it cant be disconnected because of what
we are doing uses it so frequently, its a waste to constantly connect and
disconnect every other second littearly)... but we have some systems which
seem to go into sleep mode on their NIC even when we have power managment
turned off after so long (long running problem with some of our HP
workstations and their NIC's) so even though windows doesn't sleep and the
system doesnt sleep, the NIC still goes into a low power state sometimes
after the system sits idle for so long... then when you come back a "General
network error" has occured because it lost the connection... now in .NET 2.0
there is a function to handle a network disconnect like this, but what would
you do in .NET 1.1? which is what we are still useing until .NET 2.0 is a
stable release. thanks
Nov 21 '05 #1
1 1325
"Brian Henry" <no****@newsgroups.microsoft> schrieb
How would you guys handle this? We have an app that needs to keep an
open connection to a SQL 2000 Server, (no it cant be disconnected
because of what we are doing uses it so frequently, its a waste to
constantly connect and disconnect every other second littearly)...
but we have some systems which seem to go into sleep mode on their
NIC even when we have power managment turned off after so long (long
running problem with some of our HP workstations and their NIC's) so
even though windows doesn't sleep and the system doesnt sleep, the
NIC still goes into a low power state sometimes after the system
sits idle for so long... then when you come back a "General network
error" has occured because it lost the connection... now in .NET 2.0
there is a function to handle a network disconnect like this, but
what would you do in .NET 1.1? which is what we are still useing
until .NET 2.0 is a stable release. thanks


Have a look @ one of these groups for language unrelated questions:
microsoft.public.dotnet.framework.*
Armin
Nov 21 '05 #2

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

Similar topics

0
by: PAUL MENARD | last post by:
--0-1370207171-1058366654=:75594 Content-Type: text/plain; charset=us-ascii Good morning all, I have a problem with inceasing connection to my database that eventually result in connections...
4
by: Xaradas | last post by:
How can I suspend the execution of a script for x seconds? Does exists something like sleep(x)? Thanks. ------------------------------------ "Computer Science is no more about computers ...
0
by: paul | last post by:
Can some one point me in the right direction. I looked at the FileSystemWatcher but that is not exactly it. I want to watch the connections to your computer on a intranet. What I want is the...
21
by: Alo Sarv | last post by:
Hi From what I have understood from various posts in this newsgroup, writing event loops pretty much comes down to this: while (true) { handleEvents(); sleep(1); // or _sleep() or...
2
by: paul | last post by:
Watching connections to your computer. Can some one tell where to start. I want to write some code to be alerted when some one connect to my computer and browses/copies/changes files or...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
1
by: spiderman559 | last post by:
whenever i put my computer into sleep mode, and turn it back on after hibernation its seems to me like my computer over heats.. The beep message i get from the motherboard is a klaxton sound a Hi...
2
by: mlevit | last post by:
Hi, I currently have a VB program that uses the Shell command to shut it down. I use shutdown -f to shut the computer down. I was wondering if anyone knows what I can use to put the computer to...
5
by: greg | last post by:
sokol wrote: The sched module is *not* designed for multithreading. It assumes that the thread waiting for events is the only one putting events into the queue, so it's impossible for an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
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.