?
Solved

unlocking database files

Posted on 2004-08-17
4
Medium Priority
?
1,364 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
[X]
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
4 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 400 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Suggested Courses

752 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