ExceptionCode: C0000006 (In-page I/O error).
Since a C0000006 error indicates a networking problem, the best option is to obtain a network trace and analyze the results. This normally involves opening a case with our Windows Platforms Support group to help you obtain the trace and interpret the results.
While a C0000006 error indicates an underlying network problem, there are some suggestions you can try that might help prevent this error.
- 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
- To generate more ideas, leverage the VFP forum community: http://social.msdn.microsoft.com/Forums/en/visualfoxprogeneral/threads
Article ID: 2704157 - Last Review: Jul 3, 2012 - Revision: 1