Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird C0000005 and C00000FD errors (NOT the usual stuff)
Message
De
25/03/2003 17:44:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Weird C0000005 and C00000FD errors (NOT the usual stuff)
Divers
Thread ID:
00769985
Message ID:
00769985
Vues:
54
I have a client running multiple copies of the exact same program on a network in multiple folders (different data sets). The program in one of the folders has been experiencing C0000005 and C00000FD errors.

I first tried the obvious by deleting/recreating the indexes but the problem persisted.

I then suspected data corruption and tried copying the data files over to a new location with the following simple program:

SET EXCLUSIVE OFF
SET DELETED ON
SET SAFETY OFF

filecnt = ADIR(aFilelist, '*.dbf')
FOR xx=1 TO m.Filecnt
m.filename = aFilelist(xx,1)
? m.filename
USE (m.Filename)
COPY TO ('temp\' + m.Filename)
use
ENDFOR
WAIT WINDOW [Finished!]

The above program worked until it got to a file that was 24 MB. It counted up the records, gave the message that the records were copied, hung up for a while, and then came back with a "Error writing to file" message. At this point I'm also unable to browse the open table. I get an "Error reading file" message. Display status confirms that VFP thinks the file is still open. If I re-USE the file, I can then browse it.

This sounds like some kind of weird network error. The client's network is running TCP/IP. Does VFP 6/7 run fine with TCP/IP? Is NetBios required for VFP? Any other suggestions? TIA.
Later...
/< /-/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform