Solved

Error compiling fairly simple database

Posted on 2016-11-14
3
26 Views
Last Modified: 2016-11-14
I get an error  "Could not use (Path\filename); file already in use".  I've compiled this database (Contracts.aacdb) successfully in the past.  Don't think anything has changed as far as network/version goes (Access 2007-2013).  However, I see that  the Debug/Compile option is greyed out.  See screendumps of both the error and the VB option.   No one else is using the database.
Compile-option-not-enabled.docx
0
Comment
Question by:kerikeri
3 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 250 total points
ID: 41887112
try opening the file Contracts.laccdb and see if more than one user have the db open.
the .laccdb is located in the same folder where  Contracts.accdb is.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 41887119
Delete the .laccdb file and reboot the PC.   Do a compact and repair then try a compile

Jim
0
 

Author Closing Comment

by:kerikeri
ID: 41887126
So impressed with your quick responses.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now