ACC97: You Receive an Access Invalid Page Fault or a General Page Fault in Vba332.dll (302986)



The information in this article applies to:

  • Microsoft Access 97

This article was previously published under Q302986
Moderate: Requires basic macro, coding, and interoperability skills.

SYMPTOMS

When you try to open a query, a form, or a report that calls a user-defined function, you may receive one of the following error messages:
MSACCESS caused an invalid page fault in module VBA332.DLL
MSACCESS caused a general page fault in module VBA332.DLL
You may also experience recurring corruption in one or more objects in the same database or in members of a replica set, either in addition to the error messages or in place of them.

CAUSE

This issue can occur in one of the following situations:
  • The user-defined function name or the name of an object in the database either is a reserved word or contains one or more reserved words surrounded by spaces. For example, using the reserved word "Table", "My Table," or "My Table of Contents" as an object name can cause the symptoms that are described.
  • The database is corrupted.

RESOLUTION

To resolve this issue, see whether any reserved words are used as object names, and then replace the reserved words. Follow these steps:
  1. In Access 97, open any module in Design view.
  2. On the View menu, click Object Browser.
  3. In the blank box below the All Libraries box, type the word that you want to check, and then click Search. If the word appears in the search results window, it is used as the name of an object, subfunction, or user-defined function. Change the name to one that does not use a reserved word.
If no reserved words are found, the issue may be caused by database corruption. For additional information about removing database corruption, click the article number below to view the article in the Microsoft Knowledge Base:

306829 How to Troubleshoot Corruption in an Access Database

MORE INFORMATION

To avoid the possibility of using reserved words, you can follow the Leszynski Naming Conventions (LNC) when you name objects. For more information about LNC, search the Internet for "Leszynski Naming Conventions" or see the following MSDN topic: For additional information about Microsoft Access and reserved words, click the article number below to view the article in the Microsoft Knowledge Base:

109312 Reserved Words in Microsoft Access


Modification Type:MajorLast Reviewed:10/22/2003
Keywords:kbprb KB302986