.LDB Question

  • Thread starter Thread starter John C.
  • Start date Start date
J

John C.

I have not been able to perform database maintenance due
to the database is "in-use".

I have a subroutine that reads the LDB file and gives the
computer's ID.

I have gone to each computer, ensured no-one was logged
on, and have even shutdown and de-energized the computer,
but the computer ID remains in the LDB file.

I can not delete the LDB file because it is "in-use".

Help me Santa....PLEASE.

Thank YOU!
 
To clear a resistant LDB file from the server, try this:

On the server (logged on with Administrator permissions), open a DOS window
and navigate to the folder where the resistant LDB file is located. Type:

net file Then, press Enter

You should see a listing of all open files, each of which will have a number
(probably 6-digit) assigned to it. In the listing, you should also see the
login id of the user that opened the file. Write down the numbers
associated with each of the ldb files you need to delete.

Then, Type:

net file 987654 /delete

where 987654 is the number associated with an ldb file to be deleted.

hth,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

LDB file cannot be deleted. 4
Delete LDB file 6
Kick out user that locks out the database 1
.LDB file will not delete 1
How to delete ldb files when no one is in the database. 22
In Use By Admin 1
.ldb files 8
ldb 2

Back
Top