Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Break in network connection shorts out ODBC connections
Message
De
02/05/2000 17:48:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00365093
Message ID:
00365380
Vues:
18
>Most servers [the network OS] are now smart enough to detect a dead connection and will clear such connections. There is no other option but to restart the workstation in that situation. You can usually get away with short disconnects [seconds] and be able to re-establish a connection, but not a minute or two.
>

And the machine's identity might change, too, especially using TCP/IP and DHCP.

>>I have this problem guys, I was testing my App for network errors and this is what happened. While stepping through the code I disconnected my network cable from my machine, waited about a minute or two and replaced the network cable. My app realised that the connection was severed and thus tried to re-connect to the SQL Server Database .... but alas it could not re-connect. Even other apps that were not running during the test could not connect to their sql datases on the same server. (NB. All APPS connect to their databases using an ODBC connection and all databases are on the same server.)
>>
>>
>>got any ideas anybody as to why this happens and how i can solve it without asking the client to re-start the machine.
>>
>>
>>Chris
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform