Help and Support
 

powered byLive Search

You receive a "Microsoft Access Was Unable to Create an MDE Database" error message in Access 2002

Article ID:289686
Last Review:August 12, 2004
Revision:1.0
This article was previously published under Q289686
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).

For a Microsoft Access 97 version of this article, see 177620 (http://support.microsoft.com/kb/177620/).
For a Microsoft Access 2000 version of this article, see 202304 (http://support.microsoft.com/kb/202304/EN-US/).
On This Page

SYMPTOMS

When you try to save a Microsoft Access database as an MDE file, you may receive the following error message:
Can't open any more tables.
When you click OK, you receive the message:
Out of memory.
When you click OK again, you receive the message
Microsoft Access was unable to create an MDE database.
and the MDE file is not created.

Back to the top

CAUSE

The Microsoft Jet database engine version 4.0 allows a maximum of 2048 open TableIDs at one time. The process of saving a database as an MDE may cause this number to be exceeded if the database contains a large number of objects.

Back to the top

RESOLUTION

Use lightweight forms and reports whenever possible, or reduce the number of objects in the database.

Back to the top

MORE INFORMATION

There is no accurate method to estimate the number of TableIDs that the Jet database engine uses during the process of saving a particular database as an MDE. Each module uses one TableID, and saving the database as an MDE involves the Visual Basic for Applications project of the database as well as the project of the MDE. As a result, if your database contains 500 forms, and each form's HasModule property is set to Yes, you may use as many as 1000 TableIDs when saving the database as an MDE.

Back to the top

Steps to Reproduce the Behavior

1.Open a database that contains a total of more than 700 forms and reports whose HasModule properties are set to Yes.
2.On the Tools menu, point to Database Utilities, and then click Make MDE file.
3.In the Save MDE As dialog box, click Save.

Note that Microsoft Access tries to complete the process of saving the database as an MDE, but eventually you receive the error messages that are mentioned in the "Symptoms" section of this article.

Back to the top

REFERENCES

For more information about lightweight forms and reports, click Microsoft Access Help on the Help menu, type hasmodule property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Back to the top


APPLIES TO
Microsoft Access 2002 Standard Edition

Back to the top

Keywords: 
kberrmsg kbprb KB289686

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.