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
Golden PrinceAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcelbaCommented:
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
0
Golden PrinceAuthor Commented:
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
0
pcelbaCommented:
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.
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

jrbbldrCommented:
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
0
Golden PrinceAuthor Commented:
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
0
pcelbaCommented:
Yes, this error may be data dependent and appears just under certain circumstances, e.g. several grids displaying data which are tied in a relation. In this particular case the relation was replaced by something else as a solution. To delete data is not good option because you can fall into the same problem in the future.  

If you have data (not metadata in foxuser.dbf) causing this problem fix the problem not the data.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.