Fatal error: Exception code=C0000006
Question
Fatal error: Exception code=C0000006
This error may appear when a workstation abnormally disconnects from the network. If this is a persistent error you should contact your IT support partner as this indicates an issue at some point in the network.
Answer
Some causes of that your IT support partner may wish to investigate are:
- Disable opportunistic locking in Windows: 296264 Configuring opportunistic locking in Windows
- Disable DEP: 875352 A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2, Windows XP Tablet PC Edition 2005, and Windows Server 2003
- Prevent AV from scanning VFP data files: 321550 How to optimize Visual FoxPro applications while using Norton AntiVirus 2002
-
Move the executable, the Visual FoxPro runtime files, and data files to the same machine.
-
Make sure the VFP9RENU.dll file is the same major build (9 for 9, 8 for 8, etc.) as VFP9R.dll and VFP9T.dll.
-
Mark the .EXE \ runtimes read only.
-
Disable the creation of the Foxuser files (FOXUSER.DBF\.FPT) via the CONFIG.FPW file with a RESOURCE=OFF line unless you specifically need the file. The Foxuser files are created automatically and are one more set of files to cause a possible network failure.
-
Make sure you are running Service Pack 2 version of VFP 9.0. You can download Service Pack 2 from here:http://www.microsoft.com/en-us/download/details.aspx?id=13959

