Can't make an MDE file.

G

Guest

When I go to Tool/Options/Database Utilities/Make MDE File I get a message
saying Microsoft Access was unable to make an MDE file?

What could be the problem? I've tried this on a few databases in different
folders. Do I need to reinstall Access?

All replies greatly appreciated!

John
 
K

Ken Snell [MVP]

Two usual suspects:

There are compiler errors in the VBA code. Open the Visual Basic Editor and
click Debug | Compile. Correct all errors that are found.

You're trying to make an MDE in a different version than the .mdb file's
version.
 
G

George Nicholson

You don't say what version you are using, but...

http://support.microsoft.com/default.aspx?scid=kb;en-us;202304
ACC2000: "Microsoft Access Was Unable to Create an MDE Database" Error
Message

There are other articles available depending on your version. The one for
2002/XP is pretty identical except it is self contained. This one (for 2000)
contains a reference to another article.

Note: If the problem persists, import all objects & code into a new, blank
database. Compact & try to turn that into a MDE.

HTH,
 
J

Jeff Conrad

in message:
When I go to Tool/Options/Database Utilities/Make MDE File I get a message
saying Microsoft Access was unable to make an MDE file?

What could be the problem? I've tried this on a few databases in different
folders. Do I need to reinstall Access?

Four possibilities come to mind:

1. There may be coding errors in your database. The database cannot be converted to an MDE file if
there are any coding errors. Open any code module and, from the VBA menu, select Debug, then
Compile. If there are any errors, you will see an error message and the problem line of code will be
highlighted. You will need to correct any problems the compiler finds. Continue compiling until the
compile process completes with no error messages at all. Then try making an MDE file from the
database. Always keep lots of backup copies of the original MDB file.

2. If you are using Access 2002 or 2003, the default database format is Access 2000 unless you have
changed this. Unfortunately, if you use the Access 2000 database format in Access 2002 or 2003, you
cannot create an MDE. You may only create an MDE of an Access 2000-format database using Access
2000. So to make a 2002 MDE file, you must convert it to 2002 format and use 2002 to make the MDE
file. The same is true for 2003: you need to convert the file to 2003 format and use 2003 to make an
MDE in 2003 format.

3. See this link for another possibility:
ACC2002: Error Message: "Microsoft Access Was Unable to Create an MDE Database"
http://support.microsoft.com/?id=289686

4. Using methods of the DbEngine object without explicitly providing the DbEngine qualifier. For
example: OpenDatabase(...) instead of DbEngine.OpenDatabase(...). This can lead to strange DAO
licencing & other errors, including the inability to create an MDE.
(From a post by TC)

Here is some more info which may help:
Check the "Can't make an MDE!" checklist on the following Web page to help
you determine why you can't create the MDE database:

http://www.Access.QBuilt.com/html/conversion.html
 
G

Guest

Thanks!

Yes, that worked! A little debugging works! Maybe I should look into some
debugging for myself, that could be why I'm still single! :)
--
www.brightfuture.ca/bright
My email address can be found on my site.


Ken Snell said:
Two usual suspects:

There are compiler errors in the VBA code. Open the Visual Basic Editor and
click Debug | Compile. Correct all errors that are found.

You're trying to make an MDE in a different version than the .mdb file's
version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

MDE 8
making a MDE file 4
Make MDE file 4
MDE file 6
Creating .MDE File 3
Creating an MDE file 1
MDE greyed out on menu 3
Problem about MDE ~ 1

Top