Try to convert MDB to ACCDB, get "file already in use" message

gordonwwaugh used Ask the Experts™
I am trying to convert an Access 2003 (MDB) database to an Access 2010 (ACCDB) database via the Access 2010 user interface. I have followed the Help directions shown below. However, when I do the last step (click Save As), get a "file already open" error message. It says that the file I selected is already open. My SaveAs filename is definitely different from the original database's filename. The original database file is only open once--when I just opened it to convert it.
To convert an Access 2000 or Access 2002 - 2003 database (.mdb) to the .accdb file format, you must first open the database by using Access 2007 or Access 2010, and then save it in the .accdb file format.

1.On the File tab, click Open.

2.In the Open dialog box, select and open the Access 2000 or Access 2002 - 2003 database (.mdb) that you want to convert.
 Note    If the Database Enhancement dialog box appears, the database is using a file format that is earlier than Access 2000. To continue, see the section Convert an Access 97 database to the .accdb format.

3.On the File tab, click Save & Publish, and then, under Database File Types click Access Database (*.accdb).

4.Click Save As.
If any database objects are open when you click Save As, Access prompts you to close them prior to creating the copy. Click Yes to make Access close the objects, or click No to cancel the entire process. If needed, Access will also prompt you to save any changes.

5.In the Save As dialog box, type a file name in the File name box, and then click Save.
Access creates the copy of the database, and then opens the copy. Access automatically closes the original database.

Why am I getting the "file already open" error message?

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Close databases and Access.  Make sure there is no .ldb (Access Lock file) or .laccdb present in he database folder.
If there is, delete it and then try again.

The database name doesn't have to be different because .mdb and .accdb is enough to distinguish the files.

Does the mdb file have an autoxec macro or run code on a startup form?  If so, does that do anything that might lead to this problem?

To avoid anything like that open the mdb file while pressing the Shift key and then try the convertion.
Top Expert 2011

With Access 2007/2010, I prefer to create a new blank .accdb and import all the objects from the .mdb.

I find that this eliminates some of the stuff form the previous version that cause  issues in the Access 2007/2010.


That did it!

I do, indeed, have an autoexec macro. Disabling it by holding the shift key when opening the database fixed the problem.

Top Expert 2011

If you start having issue then import all the object into a new database.  I end up having to do this on almost every converted database.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial