473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Unable to delete LDB File

I've been reading all the threads about problems with LDB files but my
specific problem doesn't seem to be addressed. I have a back end database on
a server that I'm unable to run Compact and Repair on because the LDB file is
still present. It tells me it is being used by a user "Admin" on my machine
(a fact that is echoed when I open the LDB file in Notepad.) Unfortunately
there is no username "Admin" on the network.

When I try to delete the LDB file I'm told that the file is in use. I have
Full Access rights on the folder where the DB is kept.

Any suggestions short of rebooting the file server?

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200609/1

Sep 27 '06 #1
4 25163
Sailor1877 via AccessMonster.com wrote:
I've been reading all the threads about problems with LDB files but my
specific problem doesn't seem to be addressed. I have a back end
database on a server that I'm unable to run Compact and Repair on
because the LDB file is still present. It tells me it is being used
by a user "Admin" on my machine (a fact that is echoed when I open
the LDB file in Notepad.) Unfortunately there is no username "Admin"
on the network.

When I try to delete the LDB file I'm told that the file is in use.
I have Full Access rights on the folder where the DB is kept.

Any suggestions short of rebooting the file server?
If you are in the front end and any bound objects are opened then you are
also IN the back end and "Admin" is YOU. You won;lt be able to compact the
back end form thje fron enbd unless you make sure that there are no open
connections to the back end. Then the LDB will be deleted automatically.

In this context "Admin" is the Access user name, not a network or windows
user name. If your file does not utilise User Level Security then everyone
who opens the file is identified as "Admin".

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Sep 27 '06 #2
Thanks, but when this happens I am in the back end file and the front end is
not open. I've had my computer completely shut down and logged in as
administrator (not my usual log in) on other computers but the LDB file is
still there and I still can't delete it or run Compact.

Rick Brandt wrote:
>I've been reading all the threads about problems with LDB files but my
specific problem doesn't seem to be addressed. I have a back end
[quoted text clipped - 8 lines]
>>
Any suggestions short of rebooting the file server?

If you are in the front end and any bound objects are opened then you are
also IN the back end and "Admin" is YOU. You won;lt be able to compact the
back end form thje fron enbd unless you make sure that there are no open
connections to the back end. Then the LDB will be deleted automatically.

In this context "Admin" is the Access user name, not a network or windows
user name. If your file does not utilise User Level Security then everyone
who opens the file is identified as "Admin".
--
Message posted via http://www.accessmonster.com

Sep 27 '06 #3
"Rick Brandt" <ri*********@hotmail.comwrote in
news:QM*****************@newssvr11.news.prodigy.co m:
Sailor1877 via AccessMonster.com wrote:
>I've been reading all the threads about problems with LDB files
but my specific problem doesn't seem to be addressed. I have a
back end database on a server that I'm unable to run Compact and
Repair on because the LDB file is still present. It tells me it
is being used by a user "Admin" on my machine (a fact that is
echoed when I open the LDB file in Notepad.) Unfortunately there
is no username "Admin" on the network.

When I try to delete the LDB file I'm told that the file is in
use. I have Full Access rights on the folder where the DB is
kept.

Any suggestions short of rebooting the file server?

If you are in the front end and any bound objects are opened then
you are also IN the back end and "Admin" is YOU. You won;lt be
able to compact the back end form thje fron enbd unless you make
sure that there are no open connections to the back end. Then the
LDB will be deleted automatically.

In this context "Admin" is the Access user name, not a network or
windows user name. If your file does not utilise User Level
Security then everyone who opens the file is identified as
"Admin".
Sometimes the LDB file gets corrupted or has a file lock held open
and it won't delete.

There are two things to do:

1. first reboot your workstation. This should release any open file
handles on the server.

2. failing #1, then use the server administration tools to force
close the file.

Once that's done, you should be able to delete the LDB file.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 27 '06 #4
Forcing the file closed did the trick.

Thank you. Both.

David W. Fenton wrote:
>>I've been reading all the threads about problems with LDB files
but my specific problem doesn't seem to be addressed. I have a
[quoted text clipped - 20 lines]
>Security then everyone who opens the file is identified as
"Admin".

Sometimes the LDB file gets corrupted or has a file lock held open
and it won't delete.

There are two things to do:

1. first reboot your workstation. This should release any open file
handles on the server.

2. failing #1, then use the server administration tools to force
close the file.

Once that's done, you should be able to delete the LDB file.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200609/1

Sep 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David N | last post by:
I got a solution that contains about 30 projects, three of which cannot be open. When I open the project, I always receive the error message "Unable to get the project file from the Web Server" ...
0
by: Henry | last post by:
I have written an ASP/VB.Net application via VS 2003 (Crystal V9) that uses MS Access 2000 as its database. I can export reports that have no linked sub reports for printing. However, I'm unable...
9
by: MAF | last post by:
Does anyone know why in 2005 I might be getting this error everytime I try and recompile? Error 226 Unable to copy file "obj\Debug\myfile.dll" to "bin\Debug\myfile.dll". The process cannot...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
3
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
24
by: biganthony via AccessMonster.com | last post by:
Hi, I have the following code to select a folder and then delete it. I keep getting a Path/File error on the line that deletes the actual folder. The line before that line deletes the files in...
0
by: wolfsbane | last post by:
Alright, here it is I am trying to write a win32 app in VB 2005 to clean up user's profiles. everything works correctly except for the Delete("directory", True) statement. I get a...
5
by: maheswaran | last post by:
Hi, i have issue in FTP , i have tried with .net and also c# Note the following scenario: 1. Upload the file to FTP >than 60 MB. 2. At the time of Uploading, unplug the LAN cable (or)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.