Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing dbf connections
Message
From
14/10/2006 18:41:02
 
 
To
14/10/2006 13:35:33
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01162012
Message ID:
01162041
Views:
18
>Hi All
>
>I have a server running W2K/SP4 and a workstation running WXP/SP2. I have a 1Gb NIC connecting the two on a back-to-back connection. Everything working ok.
>
>I run an app on the workstation which locks a record in a DBF file stored on the server. Then the workstation runs a job, which may be take between a few minutes to as much as several hours, and when it is done it updates the record in the DBF file and moves onto the next record which it locks and repeats this process.
>
>This can work perfectly for hundreds of records and many hours but sooner or later when it comes time to update the record it was working on the program crashes saying that it can no longer read/access the dbf file anymore - error 1104, error reading file.
>
>The connection to the server still appears good and I can access any files I want including loading VFP and opening the DBF manually. The program however cannot and I need to exit and restart it.
>
>I have checked that the NIC cards are set to not go to sleep and no power saving features have been set on either the server or the workstation NIC. I have also set the W2K server to never timeout idle connections to shared resources using NET CONFIG SERVER /AUTODISCONNECT:-1.
>
>I opened a copy of VFP and opened another DBF file on the server in a browse window. When my app failed I checked whether the browse window still worked and it did.
>
>Anyone have further suggestions to check/test for?

Do you mean you have the two computers direct-connected without a switch in the middle? If so:

- are both computers on UPSs or otherwise protected from power spikes/static etc.?
- are both computers well grounded with no chance of a ground loop between them, which might show up as a voltage potential on the interconnecting LAN cable?
- could you repeat your tests with a switch in the middle?
- is there any difference if you manually set your workstation speed to 100Mbit instead of gigabit, to force the slower connection for test purposes?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform