Tuesday, June 29, 2010

Table corruption after applying append query in Access database

An append query in Microsoft Access adds records from a database table you are working in to another table. You can append records to a table in the current database that you are working in or into another Microsoft Access database. This feature of Access is quite useful when you want to add data to a different table where the data is based upon a selection criteria. However, append queries are not always the best way to add records to another database. There are possibilities of table getting corrupt and .mdb or .accdb file becoming inaccessible. In such situations, you would be required to compact and repair the database or restore the data from an updated backup. And, if nothing seems working, then you have to consider using an Access repair software.

Consider a scenario, wherein, you are running an append query, and receive the following error message:

“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
The above error can be encountered if you have a table that has a self-join and Memo fields, and has referential integrity enforced. This may lead to table corruption.

(Referential Integrity refers to a concept which ensures that relationships between tables remain consistent.)

Resolution
In order to resolve this issue, you can consider the following Access database repair steps:
  • Change the Memo fields to Text fields
  • Move the Memo fields into a separate table, and then use a 1:1 relationship
While the above steps can fix the problem, you cannot address the same situation with large databases. And, if you use the Compact and Repair utility, it won't work as well. Therefore, you have to rely on third-party Access repair software. Such tools help you in repairing and restoring Access database along with its various components.

Monday, June 28, 2010

How to fix 'Record(s) cannot be read; no read permission...' error in MS Access

Tables are the building blocks of a Microsoft Access database. When you create a database, you store data in tables – subject-based list. A table contains records and fields. Each record (row) contains data about one instance of the table subject, such as a particular employee, whereas each field (column) contains data about one aspect of the table subject, such as employee id or e-mail. Thus, tables allow you to create the framework for storing information in an Access database. However, tables in MS Access also have the tendency to go corrupt in many instances including abrupt shutdown, virus attacks, application malfunction and others. In such situations, when data stored in tables become inaccessible, you must restore the damaged .mdb file from an updated backup. And, if there is no backup available, switch to an advanced mdb repair software.

Consider a scenario, wherein, you attempt to open a table with Microsoft Access database, and instead receive the following error which reads like:

'Record(s) cannot be read; no read permission on xxxx' (Error 3112)

xxxx in the above error refers to an Access object name. It can be either a system object or a user object.

In an MDB database, there are many system tables (called as system objects) containing vital information about the database. They remain hidden by default and are maintained by MS Access only. Access creates the following system tables when creating an MDB file:
MSysAccessObjects, MSysACEs, MSysObjects, MSysQueries, MsysRelationships

Therefore, you may also receive the error:

'Record(s) cannot be read; no read permission on MsysObjects.'

Cause
The above error can surface in the following conditions:
  • If you don not have permission to view data of the specified table or query
  • If the object information or data are partially corrupt
Resolution
You can observe the following steps to troubleshoot the issue:
  • Consult the system administrator or the creator of the object to change your permissions
  • If you are sure about the permissions, then you must opt for an mdb file repair utility in order to address corruption problem.
Such tools are available in abundance over the Internet. But, selecting a particular one could be an onerous task as it would require you to do proper analysis and research. Once selected, you can use an mdb repair tool to repair corrupt access databases in an effortless manner.

Thursday, June 24, 2010

Recovering corrupt Access 2000 MDB file

MDB is the default file extension for most of the Access databases (except for Access 2007, which also supports ACCDB). It consists of various database components such as tables, queries, forms, stored procedures. You can import MDB file into various MS Office applications such as Word, Excel, etc. However, sometimes MDB files may get corrupt due to various reasons such as human errors, abrupt system shutdown when the database is open, virus infections, power surges, etc. In such cases, you should take appropriate corrective measures to repair the file and recover the data. However, if you are unable to resolve the issue then you should use a third-party MDB file repair software to repair MDB file.

Consider a scenario wherein you open a database in Access 2000. However, you are unable to do and an error message is displayed, that is:

“Unexpected error 35012”

Cause:
The root cause of this error message is that one or more components (such as forms, tables, etc) of the database are corrupted.

Resolution:
To resolve the issue and recover the trapped data safely from the MDB file, you should perform the following steps:
1.Create a new Microsoft Access database.
2.Import the database into the new database by following File | Get External Data | Import. Import all the database objects of the corrupted database to the new database.
3.If the aforementioned error message is getting displayed while importing a particular database object then repeat Step 2 and exclude that object this time. Restore that object from an updated and clean backup of the database.

However, if you are unable to address this issue using the mentioned method or the backup is not updated then you should use a third-party recovery tool to repair MDB file. Such read-only tools perform .MDB repair using fast yet sophisticated scanning algorithms without overwriting the original data.

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.

Friday, June 18, 2010

Recovering Access database corrupted because of concatenated fields

MS Access, a part of MS Office product suite, is the relational database management system (RDBMS) from the MS Office. Usually it is but it can be procured separately as well. It is simple to use and is extensively used in other MS Office applications such as Word and Excel for performing backend operations. However, sometimes the Access database can get corrupt due to various reasons such as virus infections, human errors, power surges, abrupt system shutdown while the database is open, etc. In such situations, you should use appropriate corrective measures to sort the issue. However, if you are not able to solve the situation then you should use a third-party Access database repair software to repair Access file.

Consider a scenario wherein you are working on an MS Access database. In this, you have concatenated several text fields in the records. When you open the recordset, you find that the characters appearing after the first 255 characters are distorted and you are unable to understand them.

Cause:
The most possible reason for such kind of behavior is because of incorrect memory assignment. As is mentioned, the characters after first 255 are garbled. This is so because Access has set the limit of 255 characters for the Text field. And when the length is more than 255, then Access returns whatever random character is fetched from the memory after that spot.
The other reason for this error is that the database is corrupt, which is causing the database to behave in this manner.

Resolution:
To resolve this issue, you can use a UNION query with a Memo field. It will force Access to refer the concatenated field as Memo only. It creates a table with similar structure having a Memo field. Although the new table does not have any records, it still forces Access to treat the field as Memo. Due to this, there is sufficient memory to handle the extra characters.

However, if you are not able to resolve the issue even after performing the aforementioned method it means that the database is corrupt. In such cases, you should use a third-party Access repair software. Such read-only tools are able to perform Access file repair using fast yet sophisticated scanning algorithms.

Thursday, June 17, 2010

Repairing corrupted database in Access 2003

MS Access is one of the most used database systems in the world. It can be procured either with the MS Office product suite as well as a standalone application. It is simple to use and has got lots of online forums as support. However, sometimes the Access database may get corrupt thereby making it to exhibit strange behavior. This can happen due to various reasons such as virus infections, power outages, concurrent modifications by multiple users, etc. You should use appropriate steps to repair Access file. However, if you are not able to resolve the situation then you should use an Access database repair software to do so.

Consider a scenario wherein you are working on an MS Access 2003 database. In this database, you are able to open and view a database table. However, you are not able to either export this table into another database and vice versa.

Cause:
The root cause of this erroneous situation is that the database, in question, has corrupted and, thus, behaving in such abnormal manner.

Resolution:
To resolve this error and repair the corrupted Access database, you need to perform the following methods:
  • Take a backup of this database to avoid any further damage to it.
  • Create a new table and paste the structure of the problem database table in it.
  • Open both the tables.
  • In the problem table, copy the first record row.
  • Paste the copied record in the new table.
  • Repeat this process for all the records.
  • After moving all the records, create a new Access database and save it with a different name than the problem database.
  • Import the new table and other clean objects in the new database, and exit Access.
  • Delete the LDB file of the problem database.
  • Rename the new database as the problem database. This should solve the problem.
However, if the problem is still not resolved then you should use a third-party Access repair software to repair the corrupted databases. Such read-only tools repair Access databases by performing fast yet sophisticated scanning algorithms.