Symptoms
When you try to open a Microsoft Access database file (. mdb) in Access 2003, you may receive the following error message, and Access 2003 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 contain?
When you view the data in the error report, the report contains an error signature that is similar to the error signature listed at the beginning of this article.
Reason
This problem occurs when the following two conditions are true:
The database file you are trying to open is a read-only file.and
The database file contains the Microsoft Visual Basic for Applications (VBA) code that was executed when you opened the file, and the code contains an unresolved reference to the printer. The printer may have been taken offline or removed from the network.workaround To avoid this problem, follow these steps:
Note: These steps use the undocumented/decompile switch to decompile the Access 2003 database.
Right-click the database file, and then click Properties.
In the Properties dialog box, on the General tab, click to clear the Read-only check box, and then click OK.
Click Start, and then click Run. Getting Started with programming (http://bianceng.cn)
In the Run dialog box, type the following:Msaccess.exe "drive \ path \ filename. mdb"/decompile
Where the drive is the drive where the Access 2003 database file resides,The path is the path to the Access 2003 database file, and the
The filename is the name of the Access 2003 database file.
Click OK.