Link to home
Start Free TrialLog in
Avatar of Golden Prince
Golden Prince

asked on

Fatal error: Exception code=C0000005 and VFP9

fatal error : Exception code= C0000005 @
error log
     file: Z:\\VFP9Rerr.log
                Called from - pos.loadline.line 0 ( )
                Called from - pis. grid1. colpart_part_no.keypress line 0 ( )
                Called from - rman line 0 (z:\rman.exe)



please how can we fix this
currently running a retail store pos software and that error occurs when trying to scan an item  for sales
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Does the error always appear? Do you have source code available? Did you upgrade your OS or drivers recently? What OS do you use?

But even when you know all the answers the fix is not easy because it means problem between VFP and Operating system.

One common fix exists: If your app uses FOXUSER.DBF/FPT then ZAP this DBF file. Everything else is a magic and will need source code and the app developer.

You may read more about the C0000005 here: http://fox.wikis.com/wc.dll?Wiki~C0000005ExError
Avatar of Golden Prince
Golden Prince

ASKER

Does the error always appear? Yes
Do you have source code available? NO
Did you upgrade your OS or drivers recently? NO
What OS do you use? WINDOW 7

One common fix exists: If your app uses FOXUSER.DBF/FPT then ZAP this DBF file. IT USES FOXUSER.DBF/FPT BUT I DON'T UNDERSTAND THE WORD ZAP
THANKS
ZAP is a FoxPro command which deletes all data from the table. The FOXUSER table contains window positions and other metadata which are created during the application life. When the FOXUSER table contents becomes invalid then it generates C0000005 errors obviously.

If you don't have tools to ZAP this table then you may just rename it (or copy it to some other folder and delete the original) and the application should create a new empty one on the next start. The empty table creation is done at FoxPro run-time level but I can send empty one if it fails for whatever reason.
currently running a retail store pos software
Do you have source code available? NO

If Pavel's suggestion above to ZAP/Rename/Replace the Foxuser data table works, Great.

You might also try to restore your data tables from a Backup after copying off the current ones to a Save directory.
If that works, then you can incrementally move the current data files back into the 'live' directory until things quit working - at which time you will have identified which one(s) are the problem.

If all of that should fail....
Have you tried to contact the POS System application developer(s)?
They will (or should) have the application source code.
NOTE - if this is a custom POS application that you paid someone to develop, you should have the source code.

Good Luck
Thanks to all guys
After all the suggestion the error still persist. We had to take a drastic step of clearing all the database and start all over again
Thanks for your contributions
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial