PetWatkins
PetWatkins

Reputation: 1

How can I repair foxpro .dbf database error message?

I have a client who received an error message when their Foxpro application initiated, Foxpro v9.0 error msg: "Unrecognized Database Format".

My client reported that he had a power failure and the problem appeared after he rebooted the PC.

It appears that the foxpro database corruption was caused by the power failure.

Any suggestions, friends...

Upvotes: 0

Views: 1006

Answers (2)

Tamar E. Granor
Tamar E. Granor

Reputation: 3937

In addition to fixing the data or restoring a back-up, you should make sure there's an Uninterruptible Power Supply for every computer on which your application runs. Then, in the event of a power outage, your customers can shut down gracefully and avoid this kind of problem.

Upvotes: 1

DRapp
DRapp

Reputation: 48139

Here is a link for VFP code to repair corrupt table headers in VFP. Provided you have VFP, it basically does a low-level file open, checks entire file size, detects record size and resets the record count. I have a client who still has VFP apps going, and once in a great while, they too have whatever power outage / surges / network connectivity issues and corrupts the header. They run this routine and back in business...

Upvotes: 1

Related Questions