Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C0000005 Error

Status
Not open for further replies.

JimSeason

Programmer
Nov 24, 2006
15
US
When I am working with forms, new and old, I can make changes, run the form, no problem...once, maybe twice. I then get the infamous C0000005 error: Memo file is missing/invalid. A restart of VFP 9 fixes it and the process of edit/error repeats. Does anyone have any suggestions beyond what I have already tried?

Already tried:
1. Create new foxuser files
2. Running CHKDSK, scanning/fixing bad sectors
3. Opening errant form as table and looking for 'junk'
4. Using VFP without anti-virus running

BTW, my OS is Vista.

Thanks!

If you always do what you've always done, you'll always get what you've always got.
 
The form is not saved in the Windows or Program File folders. Other suggestions? BTW, I'm runnning VFP 9 SP1.

In any case, thanks for the reply!

If you always do what you've always done, you'll always get what you've always got.
 
-Disable write behind cache for disks.
-If you are using an antivirus like nod32 remove dbf/fpt from check (remove anyway whatever the antivirus is) - oh just read no antivirus, brave heart:)

Cetin Basoz
MS Foxpro MVP, MCP
 
Tried setting all the VFP file types to excluded from AV checking.

Turned off the write behind cache.

I was able to make more changes in the form I've been working on but in the end I still get the error.

More suggestions?

If you always do what you've always done, you'll always get what you've always got.
 
I set exceptions for all the VFP file types no matter where the file is found.

If you always do what you've always done, you'll always get what you've always got.
 
We updated the video driver and the C5 errors disappeared. Not that this is a universal fix, but it did the trick for us - but we did NOT have memo file corruption as part of the mix.
 
For what it's worth
Once I've seen this behaviour with corrupted index-files.
-Bart
 
Make sure not to leave your form.methods from within WITH..ENDWITH - example:
WITH ...
...
RETURN .T.
ENDWITH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top