Access .mde file will not open

When I use Access 2010 to convert a .mdb file to a .mde, the file will open right away.  But if I close it, then it will not open again and doesn’t run any vba.

Could this be related to a Windows Security Trust Center setting?  Or something unrelated?
Who is Participating?
AccessGuy1763Connect With a Mentor Commented:
Since nobody has weighed in here yet, I'll suggest three possible causes for the problem:

1) It could be a Trust Center issue.  You could try adding a Trusted Location for the folder where you are storing the database.  Go to Office Menu > Access Options > Trust Center > Trust Center Settings > Trusted Locations and use the interface to browse to the right folder.

2) Check to make sure the code all compiles.  If it doesn't, that's definitely a problem for an MDE.  Open the VBA Editor and go to Debug > Compile [DatabaseName] in the MDB file.

3) I know there's some issues with compiled Access databases when crossing between versions.  If you have them available, you could try opening the file in Access 2003/2007 to attempt to determine if this is the case.  I believe the general rule is supposed to be that you use the lowest version which could be used by your user base to do the compile (in other words, databases compiled in recent versions can't be opened by previous versions).
Jeffrey CoachmanMIS LiasonCommented:
Also run the Compact/repair utility...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.