Microsoft KB Archive/302986

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

Article ID: 302986

Article Last Modified on 3/29/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



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 &quot;Table&quot;, &quot;My Table,&quot; or &quot;My Table of Contents&quot; 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 &quot;Leszynski Naming Conventions&quot; or see the following MSDN topic:

http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccess/html/msdn_20naming.asp

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

Additional query words: prb

Keywords: kbprb KB302986

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.