http://infotunity.com/

Step-by-step Guide to Handling MDB File Corruption

Many Access users may not be aware of this fact but corruption in Access MDB files is a fairly common occurrence. If the corruption levels are minor, Access along with the Jet database engine can very easily fix the errors even as the user is trying to read or write into the database. However, this means, very often the user is unaware that there were any problems with the database in use. This can be a little risky because if all the errors have not been fixed and the user does not treat the corruption in time, it could spread to other parts and very quickly your data could be unrecoverable. Of course, there are fairly powerful third-party tools like Advanced Access Repair from DataNumen that specialize in MDB recovery and could assist in recovering the database with minimum data loss. But before you turn to another application, you could follow the steps mentioned in our guide below to see if you could quickly fix the corruption by yourself.

 

  1. Before you face a situation of possible database corruption, you should be taking regular backups of your valuable database data as well as the designs. This way even if you are faced with database corruption issues, you can ensure that you can limit the amount of data lost, to the minimum.
  2. While taking regular backups of your database files is always advisable, if you suspect that a particular database has already become corrupt, it is even more essential that you immediately take a backup of your file. Sometimes, a database can get even more damaged during the repair process and you may end up losing almost all the data from the file. In such situations, you can always try and restore some data from the backup files.
  3. If you notice any LDB files, then probably another user or program is still working on the database. LDB files are created when many users are trying to access the same database file and the Jet database engine wants proper synchronization for these multi-user file operations. Before you attempt to carry out an MDB recovery, delete all files with the LDB extension, close all open instances of Microsoft Access and any other software that could possibly be connected to the database.
  4. More often than not, the corruption that happens in Access is because of problems with the structure of Access objects such as forms or reports. If your database contains objects such as reports or forms, you should probably not import all these into the backup. Import only the tables from the corrupt database into your very latest backup.
You can now try using the 'Compact and Repair' utility that comes built-in with Microsoft Access. You can access this feature from the Tools -> Database Utilities Menu. Since this feature can be activated even if no database is open, if your database proves inaccessible you can still open this feature and try to carry out an MDB recovery. One last word of caution before you run this tool ' 'Compact and Repair' has been known to make corruption levels worse; make sure that you have taken a backup of your MDB file before running this tool.

http://infotunity.com/