472,958 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Records in Access corrupting and Compact/Repair function not able to resolve this.

Access2003,
Windows XP Pro OEM user OS,
Windows Sever 2000 server OS.

Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL server, but mainting these databases is critical to keeping the business running. 1 database in particular has been causing problems. Along the course we have had a few problems with random records corrupting (new and old) and Values within fields dissapearing, which are formatted text-boxes (checked With VB code as opposed to locking down the fields to a certain type, which i believe is part of the problem).

In the past: records would courrpt, users would recieve the relevant Run-time error and the database would be compact/repaired and then everything would operate normally for a spell. However after a time, it got to the point where records would corrupt and a repair would not work. Halfway through the Compact/Repair process Access stalls and gives a message that it has to restart. A copy of the database it made (incomplete) and placed in the same directory named DB* (where * is an incrimental number based on how many copies of the DB exist inthe current directory). Again this wasn't a big problem, as i have scheduled (along with daily backups) an hourly back of each of the 3 databases, which normally is faster than repairing the database and means at most an hour of work is lost.

The most recent issue however is that a very old record that hadn't been accessed in months corrupted, this went un-noticed until recently and now it's too late to restore from a backup. the compact/repair still does not work - and other repair facilities (the jet engine repair util for example) crashes while trying to repair it also. I have tried going into the back end, but as soon as i try to remove the corrupted records, it becomes impossible to save the changes due to the "unrecognised database format" error message.

These systems will be moving onto our own, more powerful database engine and workflow management system soon, but this corrupted record will not allow exporting of records, as this also crashed accesss. So until this issue is resolved we are unable to push forward with the migration and i have been unable to find a solution to the problem.

If anyone has any ideas, it's all appreciated - i have been working on this for weeks as it stands - im at the point of trying anything!
Feb 20 '08 #1
3 2163
Scott Price
1,384 Expert 1GB
Allen Browne's website has two very helpful pages: Recovering from Corruption and Preventing Corruption that should help you understand the underlying causes and the possible fixes to corruption.

Good luck!

Regards,
Scott
Feb 20 '08 #2
Scott Price
1,384 Expert 1GB
Another very helpful page: http://www.everythingaccess.com/tuto...n-Repair-Guide .

Regards,
Scott
Feb 20 '08 #3
Thanks for the info - I'll check these out now.
Feb 20 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Mohammed AlQuraishi | last post by:
Hi all, I'm trying to connect to an MS Access database using ADO.NET and C#, but I'm getting the dreaded "Microsoft Jet database engine cannot open the file 'x'. It is already opened exclusively...
1
by: Steve Claflin | last post by:
I have a database with a moderate number of records in several tables (the biggest table at the moment is about 800 records). In development it got moved between 2K and XP repeatedly. Several...
5
by: Matt. | last post by:
Hi all! This has happened to two different databases to me in two days. A query which has been working flawlessly for over 9 months suddenly won't run because the "ISNULL" function is...
1
by: PamelaDV | last post by:
I am running into big problems with my Access 97 databases. I have one database in particular that needs to be repaired and compacted several times a day. I have problems when doing a repair and...
28
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during...
12
by: John Baker | last post by:
Hi: I have read a number of threads on the issue of compressing (compacting) Access data bases programmatically, and have been left confused. We are using Access 2000, and I need code that will...
11
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the...
21
by: rfdjr1 | last post by:
I'm using Access 2000. I have a raher simple database of my CD collection, with just three fields, Artist, Album Title and Type of Music. While going to update it today with a couple new CD's, I...
3
by: Martincruise | last post by:
I face the below error message, when I attempt to mount an Access database "Microsoft Access has detected corruption in this file. To try to repair the corruption, first make a backup copy of the...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.