Freeing up an Access Database locked by an unknown user

I have an Access database that shows a lock on it by a user.  However, all users who have privileges to the location of the database are not logged in or using the Db.

What happens on occasion is that the report the user runs gets hung up and they abort the process but the Db stays open.

Is there a way to unlock the Db without rebooting the server?

Thanks

glen
GPSPOWAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
"the user runs gets hung up"
So, whereas Access  may appear to be visually closed, it's likely stuck in memory - keeping the Lock file open. You can use Task Manager>>Processes>>MSACCESS.EXE  .... and kill that task.

mx
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
I usually delete the lock file - if access ends abnormally it could remain behind.
0
GPSPOWAuthor Commented:
I tried that.  I could not.  Blocked by unknown user.

Glen
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Systems AnalystCommented:
Tried what ?
0
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
If it's across a network share, you can kill the connection from Share and File Management....look at open files.

If MSAccess.exe is running on the server itself and you've already killed the task, then it's an orphan lock and would need something like process explorer to find the file handle and close it.

 but the answer is yes, it can be done without rebooting the server.   What OS are you dealing with?

Jim.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GPSPOWAuthor Commented:
Thanks

Worked.

Glen
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.