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
SoftwareSalesFoxPro

Avatar of undefined
Last Comment
Pavel Celba

8/22/2022 - Mon
Pavel Celba

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
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
Pavel Celba

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
jrbbldr

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
Golden Prince

ASKER
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
Pavel Celba

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question