Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Jorge Del Giudice
  Where is Jorge Del Giudice?
 Santo Domingo
 Dominican Republic
 Jorge Del Giudice
 Tags
Subject: RE: "Fatal error: Exception code: C0000005 "
Thread ID: 6119 Message ID: 33717 # Views: 10 # Ratings: 0
Version: Visual FoxPro 6 Category: Errors & Debugging
Date: Tuesday, December 02, 2003 10:50:11 AM         
   


Can be all kinds of things. This low level error cannot be handled by VFP. Some causes I've seen during the past years:

- resident virus scanners:
I advise only to use virus scanners that allow you to exclude certain files, folders or file types from the scan process. Always exclude DBF, FPT, CDX, DBC, DCT and DCX files. You may want to check the following article:
HOWTO: Optimize Visual FoxPro Applications While Using Norton AntiVirus

- poor hardware (mostly network adapters):
Update the drivers or replace the hardware. I'd only invest in 100mb or gigabit network adapters.

- ActiveX controls (OCX)
- corrupt index file content
- corrupt memo file contents
- corrupt resource files (foxuser.* / SYS(2005)):
Shutdown your app or VFP and remove the foxuser resource files. These files are recreated automatically the next time you start your app/vfp. Read this article to learn more about trouble shooting file corruptions.
HOWTO: Troubleshoot to Resolve Suspected Corruption

- HP LaserJet 4000 driver:
Here's some documentation:
PRB: Memory Error with HP LaserJet 4000 TN PCL 5e Driver

Sometimes it helps to remove the printer setup information from the report files. Here's some info on how to do that:
HOWTO: Clear Report TAG, TAG2, and EXPR Fields Using .pjx Hooks
If you're using VFP8, then you can prevent VFP from storing printer info in the report files. To do so, uncheck the "Save printer environment" option on the Reports tab of the VFP Options dialog.

The Microsoft KnowledgeBase contains quite a few articles related to the C5 error.
http://support.microsoft.com/search/default.aspx?Product=fox&Queryc=C0000005&Query=C0000005&maxResults=150

Lots C5 errors are fixed by the VFP Service Packs. Make sure you're using the latest Service Pack. For VFP6, it is SP5 which can be obtained here:
http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/

For VFP7, it is Service Pack 1:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=B1BFB6C2-261E-4B7D-8838-8DCD5478A9EB

For VFP8, it is Service Pack 1:
http://www.microsoft.com/downloads/details.aspx?FamilyId=018705E6-DF6A-4695-965E-459FE5A761F7&displaylang=en
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts

ENTIRE THREAD

"Fatal error: Exception code: C0000005 " Posted by kanchana @ 12/27/2001 6:42:30 AM
RE: "Fatal error: Exception code: C0000005 " Posted by Dale Dedoroy @ 12/27/2001 7:13:51 AM
RE: "Fatal error: Exception code: C0000005 " Posted by kanchana @ 12/27/2001 7:20:20 AM
RE: "Fatal error: Exception code: C0000005 " Posted by Simon Arnold @ 12/27/2001 6:13:00 PM
RE: "Fatal error: Exception code: C0000005 " Posted by Jorge Del Giudice @ 11/29/2003 12:28:07 AM
RE: "Fatal error: Exception code: C0000005 " Posted by Arno Hanssen @ 12/1/2003 10:14:06 PM
RE: "Fatal error: Exception code: C0000005 " Posted by Eric den Doop @ 12/2/2003 10:50:11 AM