ACC95: Startup Form Causes IPF in MSACCESS.EXE

ID: Q152822


The information in this article applies to:


SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

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:

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:

Q161983 ACC: Regsvr32.exe Available on MSL


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.



Keywords          : kberrmsg kbusage GnlOthr 
Version           : 7.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 16, 1999