Thursday, July 8, 2010

How to fix 'Can't find the database you specified...' error in MS Access 2007

Microsoft Access is an application which is used to create computer-based databases. The application creates a database file with an extension .MDB or .ACCDB (depending on the version). These files are vulnerable to corruption in many instances including application malfunction, abrupt system shutdown, virus attacks, application bugs and more. In such situations, you may find it hard to mount a database and access database records. Since these issues are always accompanied by various error messages, it becomes essential to isolate them. You can, therefore, use the inbuilt Compact and Repair feature to treat some corruption problems. But, in order to achieve best results, you must get hold of a third-party Access recovery application.

Consider a scenario, wherein, you try and open an existing Microsoft Access database by using a shortcut, and receive the following error message:

'Can't find the database you specified, or you didn't specify a database at all.

Specify a valid database name in the command line, and include a path if necessary.'

In order to identify the unique number associated with the error message, press Ctrl+Shift+I, and you will receive the following error code in the lower-right corner of this message:

502554

Cause

The above behavior can be witnessed in the following situations:

  • The shortcut points to an earlier or older version of MS Access database and you upgraded the earlier version of MS Office programs during the setup of a later version of MS Office.
  • The Norton anti-virus program was already installed when you installed MS Office Access 2007
  • Of if the database is corrupt

Resolution

You can observe the following steps to overcome the problem:


  • To fix the problem due to Access runtime application, remove Access, reinstall the Access runtime application, check you can use the shortcut to open the database of the runtime application
  • To fix the issue related to Norton anti-virus, follow these steps:
1.Remove Access
2.Remove Norton anti-virus software
3.Reinstall Access
4.Check that you can use the shortcut to open the database
5.Reinstall Norton anti-virus program
You can download repair software from the Internet and perform repairing on your own by following simple directions embedded in it. Such third-party Access repair tools are safe to use since they do not modify the original data.

Tuesday, July 6, 2010

How to fix 'Record is deleted' error in MS Access 2000

Microsoft Access, which comes bundled with Microsoft Office suite of Applications, is a pseudo-relational database management system. The database creates either an .accdb or .mdb file. These files are prone to corruption in many scenarios including application malfunction, virus infection, operating system malfunction, and others. Also, when the database files are used in a multi-user environment, they have higher chances of becoming corrupt. An abrupt shutdown by a user can affect the records or tables. In such scenarios, you must look for the clean and updated backup copy of the database. However, if no backup is available, you must use the inbuilt compact and repair utility to repair the damaged Access database. If nothing seems working, then look for a third-party Access recovery software.

Consider a scenario, wherein, you try to open a table, query, form or report in a Access 2000 database (which is used in a multi-user environment), stored on a network or server, you may receive the following error:

"Record is deleted."

If the object is a table or query, you may receive another error message which goes like:

"Msaccess can't open the table in datasheet view."

And, if the object is a report, then you will also get the following error messages:

"Unable to carry out the command."

Or

"There was an error executing the command."

Cause

The above errors surface when either an object or database is damaged. Damage can occur, for example, if two users try to modify the same record in a table simultaneously, and one user quits MS Access by abruptly shutting down the system.

Resolution

To overcome the problem, you can undertake the following Access database recovery steps:

Compact and repair database

1.In Access 2000, go to Tools menu, point to Database utilities, and then click Compact and Repair Database
2.In the Database to Compact Form dialog box, locate and then click the database which is generating the error messages, and then click Compact.
3.In the Compact Database Into dialog box, select an appropriate folder location for the new file, type a unique name for the file in the File name box, and then click Save.

The above method can work fine if there are minor damages in database, but in case of severe damages, you must consider opting for a professional Access repair utility. Such tools can recover damaged databases without modifying the original data.