Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Access 2003 or Access 2002 stops responding with an error message that references the Msaccess.exe file when you open a database file


View products that this article applies to.

Symptoms

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


Cause

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


Workaround

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


Keywords: KB819780, kbnofix, kberrmsg, kbbug, kbstoprespond, kbopenfile

↑ Back to the top

Article Info
Article ID : 819780
Revision : 9
Created on : 7/27/2006
Published on : 7/27/2006
Exists online : False
Views : 249