I was working on an Access Database today, and when I tried to make a new MDE I got the “Microsoft Access was unable to create an MDE database” error. Â Specifically, it said I may have too many tables or forms, since the limit was 2048. Â Having a total of about 4 forms and 3 tables, I doubted that was the problem.
Turns out if you have a VBScript error the MDE creation will fail as well. Â In my case I had deleted a form control but was still referencing it in code. Â Fixing that solved the problem. Â To do so, open the code editor in access, then go to Tools -> Compile. Â If there are any errors it will alert you right away. Â Fortunately for me it was just one 🙂
Just another reference for myself. Â Thanks for reading!