Friday, August 13, 2010

How to resolve 'Cannot Find the File...' error while opening MDB file in Windows Explorer

Microsoft Access users must have encountered database corruption at one instance or the other. While advanced users have switched to more sophisticated database tools for large projects, Access is still used for smaller projects by small and medium sized businesses. Access stores each and every component of it - tables, queries, forms, reports etc - in an MDB file. An MDB file may become corrupt in many scenarios including application malfunction, abrupt system shutdown, power fluctuations etc. In such situations, you tend to lose data or information stored in a database. However, you can overcome a data loss situation easily if you have a backup copy of the affected database. And, if a backup is not available, then you must consider using Access database recovery strategies.

Consider a scenario, wherein, you double-click an Access 2002 application (.mdb) file in Microsoft Windows Explorer, you may receive the following error message:

"Cannot find the file (or one of its components).
Make sure the path and filename are correct and that all required libraries are available."

As a result of the above error message, you are unable to access data stored in the MDB file.

Cause

The above error can be encountered in the following conditions:

  • When an Access application contains an AutoExec macro, and the macro ends with a Quit action
  • Or when an Access database is corrupt

Resolution

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

  • You must click to clear the Use DDE option for file association properties of the Access application (MDB) file. To do this, follow these steps:
1.Run Windows Explorer
2.On the Tools menu, click Folder Options
3.Click the File Types tab
4.In the Registered file types list, locate and then select Microsoft Access Application, click Advanced
5.In the Actions list, click Open and then click Edit
6.Click to clear the Use DDE option, and then click OK
7.In the Edit File Type dialog box, click OK
8.In Folder Options, click Close
  • If the above workaround doesn't help then it is evident that the MDB file is corrupt. In order to fix corruption issue and retrieve data, you must opt for a third-party Access database repair steps.

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.