Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

unlocking database files

Posted on 2004-08-17
4
1,358 Views
Last Modified: 2006-11-17
Does any one know of a  way to automatically unlock all .mdb and .ldb files? I continue to have locking problems with the databases which require me to manually unlock files until the DB lets us in.  It would be nice if we could do this automatically. Let me know your thoughts.  Thanks!
0
Comment
Question by:soda0091
4 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 100 total points
ID: 11821967
well you can run a batch file

del c:\mydatadir\*.ldb /Q /F

but id' try to find out why your ldb's are hanging around in the first place...it's usually caused by someone exiting improperly

0
 

Author Comment

by:soda0091
ID: 11823223
Any other suggestions? I will try checking that out.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

840 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