ACC95: Startup Form Causes IPF in MSACCESS.EXE

Last reviewed: August 20, 1997
Article ID: Q152822
The information in this article applies to:
  • Microsoft Access version 7.0

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:

  • 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:

   ARTICLE-ID: Q161983
   TITLE     : 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          : GnlOthr kberrmsg kbusage
Version           : 7.0
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.