Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internal Consistency error
Message
 
À
04/08/1998 17:26:01
Mark Lauahi
Advanced Motion Controls
Camarillo, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123932
Message ID:
00124017
Vues:
493
Here is a kb article that may help you out.

--Paul

PRB: Resolving FoxPro Internal Memory Error Messages
Last reviewed: May 29, 1996
Article ID: Q99600
The information in this article applies to:
Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a
Microsoft FoxPro for Windows, versions 2.5 and 2.5a


SYMPTOMS
After one of the following memory error messages is displayed, FoxPro closes
all open files to preserve all data and exits to MS-DOS:


Internal consistency error.
Resource Manager Internal consistency error.
Menu Manager Internal consistency error.
1004 Use of invalid handle.
1005 Use of unallocated handle.
1006 Use of transgressed handle.
1007 Transgressed node found during compaction.
1008 Foreign node found during compaction.
1009 Incorrect handle found during compaction.
1010 Area size exceeded during compaction.
1011 Area cannot contain handle.

CAUSE
One of the above error messages is displayed because of a memory conflict or
a corrupted FoxPro file.



RESOLUTION
Perform the following troubleshooting steps to resolve this problem:


If the .CDX file is corrupted, do the following; otherwise, go to step 2.
a. At the MS-DOS prompt, type the following command:


rename .cdx .cbk

b. In the Command window, type the following command:

USE .dbf

c. Re-create the .CDX file.


If the .DBF file is corrupted, do the following; otherwise, go to step 3.
a. Restore the backup .DBF file if you have one. If you have no backup


file, go to step b.
b. In the FoxPro Command window, type the following commands:


USE .dbf
COPY STRUCTURE TO test.dbf WITH CDX
USE
SELECT
USE test.dbf
SELECT test.dbf
APPEND FROM .dbf


If the FOXUSER.DBF file is corrupted, do the following; otherwise, go to
step 4.
a. At the MS-DOS prompt, type the following command:


RENAME foxuser.dbf foxuser.dbk

b. Restart FoxPro. A new FOXUSER.DBF file is automatically created.


If the problem is occurring with a distributed application, make sure the
.ESO or .ESL files aren't corrupted. If they are, replace the support
libraries. If the problem doesn't involve a distributed application, go to
step 5.

To determine if there is a memory conflict, perform a clean boot of your
computer. For more information on this topic, query on the following words
in the Microsoft Knowledge Base:


clean and boot and unnecessary

Disable any video or system ROM shadowing.

To make sure there aren't any hard disk errors, type the following command
at the MS-DOS prompt:


chkdsk /f

If steps 1-7 don't resolve the problem, reinstall FoxPro.

MORE INFORMATION
The error may have been caused by a corrupt file, and FoxPro, after trapping
for this error message, tries to close all open files in an attempt to
prevent further file corruption.

Another possibility is that there is an invalid SET TEMP in the AUTOEXEC.BAT
or CONFIG.FPW files.
>From time to time I will recieve the error "Internal Consistency Error". This does not seem to be associated with the indexes in any way. The entire table itself does not become corrupted, only a small subset of the entire table. The table does belong to a DBC container.
>If you copy out the subset(e.g. All parts that start with "P") to a temp.txt sdf file, delete out the subset from the table, pack the table, and then append back in the records from the txt file the error goes away. I do not get it a lot, but probably 5 or six times out of the year it shows up.
>
>Any ideas what causes this, and better yet when it happens, how to fix it. There are about 100 users in and out of the system throughout the day.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform