When you try to open a Microsoft Access database file
(.mdb) in Microsoft Office Access 2003 or in Microsoft Access 2002, you may receive the following error
message, and Access 2003 or Access 2002 may stop responding:
Microsoft
Office Access has encountered a problem and needs to close.
Note To view the details of the error signature, click the link in the
following text:
What does this error report
contain?
When you view the data in the error report, the report
contains an error signature that is similar to the one that is listed at the
beginning of this article.
Back to the top
This problem occurs when both of the following conditions
are true:
| • | The database file that you are trying to open is
read-only. |
| • | The database file contains Microsoft Visual Basic for
Applications (VBA) code that is executed when you open the file and that
contains a reference to a printer that cannot be resolved. The printer may be
offline or removed from the network. |
Back to the top
To work around this problem, follow these steps.
Note These steps use the undocumented /decompile switch to decompile the Access 2003 or the Access 2002 database.
| 1. | Right-click the database file, and then click
Properties. |
| 2. | In the Properties dialog box, on the
General tab, click to clear the Read-only
check box, and then click OK. |
| 3. | Click Start, and then click
Run. |
| 4. | Type the following command: msaccess.exe "drive\path\file name.mdb" /decompile Note In this command, drive is the drive
in which the Access 2003 or Access 2002 database file resides,
path is the path of the Access 2003 or Access 2002 database file,
and file name is the name of the Access 2003 or Access 2002 database file. |
| 5. | Click OK. |
Back to the top