ACC95: Startup Form Causes IPF in MSACCESS.EXE (152822)



The information in this article applies to:

  • Microsoft Access for Windows 95 7.0

This article was previously published under Q152822
Novice: Requires knowledge of the user interface on single-user computers.

SYMPTOMS

When you open a database with a startup form in Microsoft Access 7.0, you may receive the following error message.

In Windows 95


This application has performed an illegal operation and will be shut down.

If you click the Details button, you see the following information:

Invalid Page Fault in MSACCESS.EXE


In Windows NT


An application error has occurred and an application error log is being generated. MSACCESS.exe

CAUSE

You have a bad or missing Dao2532.tlb file in the following location.

In Windows 95 or Windows NT 4.0


   C:\Program Files\Common Files\Microsoft Shared\DAO folder
				

In Windows NT 3.51


   C:\WinNT\MSApps\DAO folder
				

RESOLUTION

This issue can be resolved by doing one of the following:
  • Reinstall Microsoft Access 7.0. If the Dao2532.tlb file exists, rename or delete the file before reinstalling Microsoft Access 7.0.
  • Use the file Regsvr32.exe to reregister the .dll files. Regsvr32.exe is an application that is used to register dynamic-link libraries (DLLs) and ActiveX controls in the Microsoft Windows 95 and Microsoft Windows NT registries. You can use this file to eliminate the issue of mismatched .dll files.
To reregister your .dll files using Regsvr32.exe do the following:
  1. Verify that the Regsvr32.exe file is in your Windows\System folder.
  2. Click the Start button, and then click Run.
  3. In the Open box, type the following:

    Regsvr32 c:\progra~1\common~1\micros~1\dao\dao3032.dll
For information about how to obtain this file, please see the following article in the Microsoft Knowledge Base:

161983 ACC: Regsv32a.exe Available in Download Center

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 7.0. This problem no longer occurs in Microsoft Access 97.

MORE INFORMATION

Steps to Reproduce Problem


  1. Open the sample database Northwind.mdb.
  2. On the Tools menu, click Startup.
  3. In the Startup dialog box, under Display Form, select Main Switchboard as the startup form.
  4. Close Microsoft Access 7.0.
  5. Rename the C:\Program Files\Common Files\Microsoft Shared\DAO\ Dao2532.tlb file.

    NOTE: If you are using Microsoft Windows NT 3.51, this file is located in the C:\WinNT\MSApps\DAO folder.
  6. Restart Microsoft Access 7.0.
  7. Open the sample database Northwind.mdb. Note that you receive the error message mentioned in the "Symptoms" section.

Modification Type:MajorLast Reviewed:6/25/2002
Keywords:kbbug kberrmsg kbusage KB152822