Repair Access Database File using Access Compact and Repair Utility

There can be various reasons that lead in to the damage of Access database (.mdb) file. Some of the reasons are – abrupt system shut down, virus attack, interrupted read/write operation, network issues, and opening the .mdb file with another program. After the .mdb file is damaged, users start getting error messages when they try to access the data stored in the database. To troubleshoot corruption in MS Access and perform Access file recovery, Microsoft provides Access Compact and Repair utility.

What is Access Compact and Repair Utility?

Access Compact and Repair utility comes as built-in MS Access tool using which the user can compact the large sized .mdb file to free up the unused space in the file. In addition, the tool repairs the .mdb file against minor corruptions.

Points to be considered before using Access Compact and Repair Utility

Following are the points that you must consider before using the Access Compact and Repair utility:

  • Access Compact and Repair tool creates a new database at the destined location and copies data from old .mdb file to new .mdb file; therefore, you must ensure that you have enough space on hard disk to hold the new .mdb file along with the .mdb file.

  • Backup the old .mdb file before starting the repairing process. This will be helpful in case the repairing process gets aborted leading into severe corruption of the .mdb file. Access Compact and Repair utility cannot repair the severely damaged .mdb file.

  • Make sure that the Access database is not in use. If the database will be in use then Access Compact and Repair utility will not work.

  • Make sure that the database property is not set as read only.

How to use Access Compact and Repair Utility

Execute the following steps to perform Access file recovery using Access Compact and Repair utility:

  1. Start MS Access.

  2. Select Tools > Database Utilities.

  3. Click the Compact and Repair Database button. The “Database to Compact From” dialog box appears.

  4. Select the file that you want to repair and click the Compact button. The “Compact Database Info” dialog box appears.

  5. Specify a new name for .mdb file.

  6. Click the Save button.

This way you can successfully perform Access file recovery. However, the process described above will work only when the corruption in the database is less. In case, the database is highly corrupted, Access Compact and Repair utility throws a message indicating that the database cannot be repaired.

At that time, you need to use a third party Access file recovery software. A good quality Access file recovery software enables you to repair the majorly corrupted .mdb file without any problem and in less time.

Resolve the you do not have access permissions error

When we talk about database applications then MS Access must come in the discussion. It is the lightest weight but powerful database application developed by Microsoft Corporation. Users those need to store data in an organized form use MS Access as the database. When you store information through MS Access, .mdb file is created. Sometimes, this .mdb file gets damaged or corrupted due to any known or unknown reason. Once the .mdb file is damaged and you try to access the file, following error message flashes on your computer screen:

“You do not have the necessary permissions to use the object. Have your system administrator or the person who created this object establish the appropriate permissions for you”

When you receive the error message, MS Access does not open due to which you loss all of the data stored in the .mdb file. Whether the amount of the data stored in the .mdb file is less or more, you cannot even think to loss the data. But, the file is damaged so what can be done now.


Try one of the following solutions to resolve the “you do not have access permissions” error message:

Check if there is a compatibility issue or not. If there is any compatibility issue then upgrade MS Access and the problem will be resolved.

If you are trying to access a wrong file, then make it sure that you only access the .mdb file. Accessing any other file results in the specified error message.

In case, none of the above solutions work then try third party Access recovery software. The Access file recovery software thoroughly scans the damaged .mdb file, repairs the file, and recovers all data from it. Third party Access recovery software maintains the data integrity while recovering the lost data. Kernel for MS Access recovery is an efficient .mdb repair and recovery software, which recovers all types of the data in their original format.

Rectify Error Message- Reserved error (-1524); in MS Access

Making queries in MS Access lets you fetch the desired information available in the database. However, in some cases, MS Access might display some error message in place of the information to try to find out. One of the most common reasons for occurrence of these error messages is corruption of MDB database. In order to resolve these error messages and run the queries successfully, you can update the data from a recent valid backup copy. However, in case there is no available backup of the database, you need to repair the database corrupted after display of this error message

Reserved error (-1524); there is no message for this error.

Each time you run a query, the same error message appears on screen. The main cause behind the continuous occurrence of this error message is corruption or damage caused to MS Access database. Repair the corrupt database by using the easy repair utility Compact and Repair tool. To use this tool, follow the steps given below:

  1. On Access Toolbar, click the Tools option
  2. Go to List > Database Utilities and select Compact and Repair Database
  3. Choose the database that you wanted to repair in the Database to Compact form
  4. Select the Compact option to initiate repair process
  5. Select a desired location to save the repaired database file
  6. Click Save

Although, with the above mentioned procedure you still have possibilities of occurrence of error message. Therefore, the best way to repair your database is by using advanced Access recovery software. Such Access file recovery tools are easy to use and highly interactive that comes integrated with detailed User’s Help Guides.

Different ways to share an Access database

An Access database is made up of objects, such as tables, queries, and forms. Tables are the main repository of data. Every other kind of database object helps you use the data that is stored in tables. So when you want to share a database, you usually want to share the tables, because they contain your data. When you share tables, it is important to make sure that everyone is using the same tables so that everyone is using the same data.

Depending on your needs and resources, you have a variety of options for sharing your database. Following are some of the methods of sharing an Access database.

Split Database – This is a good choice if you do not have a SharePoint site or a database server product. Tables go in one Access file, and everything else goes in another Access file, called a front-end database. The front-end database contains links to the tables in the other file. Each user gets his own copy of the front-end database, so only tables are shared.

Network Folder – In this, the database file is stored on a shared network drive, and people use the database file simultaneously. All database objects are shared.

SharePoint Site – This is a good option if you have a server running Windows SharePoint Services. Several points of integration with SharePoint help make database access more convenient.

Database Server – You should use this option if you have a database server available. Database servers are optimized for sharing data among many users. Only tables get shared.

Above methods are very much useful for sharing Access database according to the pertinent conditions. Sharing too often might end up in corruption of Access database. With Kernel for Access recovery software you can repair corrupt or damaged Access .MDB database file easily.

How to create Memo field in MS Access 2007?

Memo fields in Office Access 2007 stores up to 1 GB of characters, or 2 GB of storage (2 bytes per character), of which you can display 65,535 characters in a control on a form or report. Also, you can apply RTF formatting to the data in a Memo field. For instance, you can set colors, change fonts, and make data bold or italic.

Microsoft Office Access 2007 provides two distinguished ways to add a Memo field to a new or existing table. Have a look at the following options.

  • Datasheet View – You can add a Memo field to a new or existing table in Datasheet view by adding a new field and then either pasting more than 256 characters of text into a blank row in the field or selecting the Memo data type from a drop-down list.

  • Design View – You use Design view when you want to add a Memo field, enable rich-text editing for the field, and set properties that you can’t set in Design view, such as a default value.

You can use either of the above techniques when you are about to create new tables or want to modify the existing tables.

Some time or other we are caught in midst of Access file corruption and fails to retrieve any of the stored Access file data. But Access Recovery tool enables you to restore Access .MDB file back.

Top 10 advantages of MS Access

Microsoft Office Access 2007 provides quick tracking and reporting of information, which is laced with attractive and interactive user interface. Though there are various advantages to MS Access 2007 database, here let’s find out the top 10s.

  1. Better, faster results with the Office Fluent user interface
  2. Get started quickly using pre-built solutions
  3. Create multiple reports with different views of the same information
  4. Create tables quickly without worrying about database complexity
  5. Enjoy new field types for even richer scenarios
  6. Collect and update your information directly from the source
  7. Share your information with Microsoft Windows SharePoint Services.
  8. Track Windows SharePoint Services lists with the rich client capabilities of Office Access 2007
  9. Move data to Windows SharePoint Services for better manageability
  10. Useful in accessing information from multiple sources

There are lots of advantages of using MS Access 2007. Sometimes our happiness is interrupted with corruption in Access database file. Kernel for Access Recovery software brings back our happiness by recovering all lost, corrupt, damaged MS Access database file .MDB data within minutes.

How to confirm that MDB file is corrupted

MDB file of Microsoft Access database when gets damaged, MS Access cannot access the file and displays some confusing and hard-to-understand error messages. If you cannot understand the error message then how can you know that the MDB has been damaged and you need to repair the damaged file to get the data back. In this article, we list some of the common error messages in simple forms so that you can easily recognize the file corruption when receive anyone of those messages. The messages are as follows:

  • Error 3343: “Unrecognized Database Format” that is MS Access is unable to recognize the database file.

  • Error 2239: “The database ‘abc.mdb’ is not a database file” that is database file has already been damaged due to which MS Access cannot identify the file as .MDB file.

  • Error 3011: The Microsoft Jet database engine could not find the “abc” object. Make sure the object exist and that you spell its name and the path correctly.

  • Error 3049: Cannot open database “xyz.mdb.” It may not be a database that your application recognizes or the file may be corrupt.

  • Error 3259: Invalid file data type.

  • Error 35012: Unexpected error.

All of the above error messages indicate only one thing that is the MDB file has been damaged. But, now the question is how to deal with the specified error messages. How to get data back from the damaged MDB file.

Kernel for Access Recovery can help you recover the data from the damaged MDB file. The software has been designed to perform quick access file recovery. Kernel for Access Recovery frequently scans the damaged MDB file and repairs it to perform access file recovery. The software recovers all of the data from the damaged MDB file in the same format as it was before damage.

Unexpected Project Corruption in Access Database

Sometimes when you open an Access database, Microsoft Visual Basic for Applications (VBA) projects does not load and show the following error:

Unexpected project corruption in Access database

The reason behind occurrence of this issue can be the exceeding size of the project stream. When load process to load Visual basic application for project is executed, VBA reads the “Project” stream to check available modules. The entire process of reading complete stream into memory is performed in one operation and if it finds the project stream exceeding the particular size the load process stops. The above mentioned error occurs after the load process stops.


To resolve this issue, you will need to obtain the latest service pack of Microsoft Office 2000. This service pack provides the latest updates to Office 2000. It contains security enhancements and improvements and includes fixes that help you to resolve this issue.

If in any situation you Access database file get corrupt or damaged, you can deal with the situation using Access Recovery software. Kernel for Access Recovery, efficient Access file recovery software helps you to repair and recover all available data from the corrupt MDB files.

Resolve Jet Database Engine 3343 Error Message

Sometimes, while working with Microsoft Access database, you may encounter the following Jet Database Engine related error:

Error number 3343: Unrecognized database format ‘databasename.mdb’


The specified error message occurs when the .MDB file is corrupted. The possible reason behind the corruption of .MDB file is abrupt closing of Jet Database Engine.


As mentioned that the specified error message occurs due to corruption in .MDB file, the possible solution to deal with this error message is database repairing. However, one should always make sure that the Jet Database Engine does not abruptly close so that the specified error message cannot be a hurdle. In case the error has already occurred, only an efficient access recovery software can help you to recover the data stored in the damaged .MDB file.

Kernel for Access Recovery is an outstanding, comprehensive, and cost-effective Access file recovery software, which enables you to quickly repair the damaged .MDB database file and to recover all of the data stored in the damaged .MDB database file. The software has been designed in such a way that it recovers all data in the same format and structure as it was before the damage of .MDB file. The software can even repair the password protected Access database files. Kernel for Access Recovery supports MS Access 95, MS Access 97, MS Access 2000, and MS Access 2003.

Defragment and compact database to improve performance in Microsoft Access

You can surely improve the performance of MS Access if you defragment your hard disk regularly and compact your database. The data on a hard disk gets fragmented over the time therefore defragmentation over the time becomes imperative.

Defragmentation of MDB data

Disk Defragmenter places all files, including the database files into close clusters on hard disk which enables you to access files faster than usual. An exception to MS Windows NT operating system, if you do not defragment your hard disk, the operating system might have to go to several physical locations on the disk to recover database files thereby making the access slow.


Running the Compact and Repair Database utility in MS Access database file can help you in improving the performance of database. This utility makes a copy of the database file and if it is a defragmented database, the utility rearranges the database file stored on disk. When the process completes, the compacted database reclaims wasted space which is smaller than the original. By compacting the database frequently, optimum performance of database application is ensured and page corruptions due to hardware problems, power failures or surges and so on are resolved.

If a primary key exists in the table, compacting restores table records into their primary key order. This offers the equivalent of non-maintained clustered indexes and makes the read-ahead capabilities of MS Jet database engine more efficient. Compacting updates table stats within the database that are used as Jet optimizes queries. This statistics become outdated when data is added or deleted from different tables.

Query speed increases significantly as these are now working with data that has been rewritten to the tables in neighboring pages. Scanning sequential pages is easier and fast than scanning fragmented pages. Therefore queries are compelled to recompile/optimize after each database compaction.

At the time of compaction, you can use the original name for the compacted database file or you can use a different name to create a different file. If you name it the same and the database gets compacted successfully, MS Access replaces the original file with the compacted version automatically.

Also, with MS Access user can set an option to automate this particular process. In order to do so, go to Tools menu, click Options > General tab > Compact on Close, this way you can automatically compact and repair the database as it is close.

Defragment or Compact first?

If you compact a database after defragmenting, you leave open disk space immediately after .MDB or .ACCDB on the disk, thereby allowing operating system to place additional information in the succeeding physical clusters. This will be real fast, however, if you defragment after running Compact Database, your MDB file may be placed on the first part of disk along with other files with no open disk space until the end (the inside tracks) of the disk. This makes disk access slower than before.

This way through defragmentation and compaction of database you can achieve improved performance in MS Access.

Article Resource : Access Recovery