Wednesday, June 23, 2010

Recovering MDB file after append query failure

MDB or ACCDB are database files which are created by Microsoft Access , widely used relational database management system (RDBMS). It contains database structure, database entries as well as data entry forms, queries, stored procedures and database securities. Microsoft Jet Database Engine stands rich graphical interface to access' s application to make it more user friendly and presentable. An .MDB file is always required to configure a Microsoft Access data source either by open database connectivity administrator or pro grammatically. What to do in such case if MS access MDB file corrupts due to some factors which can cause loss of file stability and thus, result in crucial data loss. This unstable situations can be resolved using third party MDB recovery software which is used to repair MDB file.

Consider a scenario where you are working on an MS Access database and you are supposed to add few records in a table and command is executed but at sudden an error message is displayed that is:

Microsoft Access can't append all the records in the append query.

Microsoft Access set 0 field(s) to Null due to a type conversion failure, and it didn't add record(s) to the table due to key violations, 0 record(s) due to lock violations, and 0 record(s) due to validation rule violations.

Do you want to run the action query anyway?
To ignore the error(s) and run the query, click Yes.
For an explanation of the causes of the violations, click Help.”

Cause:
There could be two majors reasons for the occurrence of this error message as follows:
1. Either Table consists of self-join and memo fields implemented with referential integrity
2. Or a table corrupts.

Resolution:
Such errors can be resolved by changing the Memo fields to Text fields. You can also move the Memo fields to another table and then use a 1:1 relationship between the tables. These methods can be used to resolve these issues. However, if it is showing error then table is corrupt. In such case, you can use a third-party MDB repair software to recover Access table. These read-only tools use fast yet sophisticated scanning algorithms to scan the damaged area.

No comments: