473,416 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 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 2187
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.