M
Mic
Hi,
I am having trouble with an ldb file which I cannot delete. The
database is the backend of a web application; a cleanup vbscript for
it runs as a scheduled task daily. It was all working fine until all
of a sudden (Wednesday 6/23), the script failed. It looks like the
existence of the ldb file probably stopped it, though it's possible
that it was the script itself running the day before which created the
file in the first place.
When I've encountered this previously, restarting IIS has always been
enough to get rid of the ldb. (Manually deleting it appears to work,
but as soon as I refresh the folder, the ldb just comes right back.)
Unfortunately now, even when I restart IIS, the ldb remains. Thus I
can't even test the script to debug it...
Has anybody encountered this before? How do I get rid of a persistent
ldb file when restarting IIS fails?
Also, I did already check out the ldb via MS's LDB Viewer utility. It
shows three users (all three the server itself), one as logged on and
not suspect, and two as not logged on and suspect. No committed
transactions. Interestingly, if I access the database through my
computer, its name then replaces the middle of the three users (always
the middle!) and won't disappear (even if I exit properly) until I
logoff my computer or restart IIS. When I'm in it says logged on and
not suspect; when I exit, logged off and suspect.
Bizarrely, through the web I can successfully access the same tables
that are presumably causing the locking issues with the script. (I'm
guessing that these are the ones I can't Design View without getting a
locking error.)
Michelle
I am having trouble with an ldb file which I cannot delete. The
database is the backend of a web application; a cleanup vbscript for
it runs as a scheduled task daily. It was all working fine until all
of a sudden (Wednesday 6/23), the script failed. It looks like the
existence of the ldb file probably stopped it, though it's possible
that it was the script itself running the day before which created the
file in the first place.
When I've encountered this previously, restarting IIS has always been
enough to get rid of the ldb. (Manually deleting it appears to work,
but as soon as I refresh the folder, the ldb just comes right back.)
Unfortunately now, even when I restart IIS, the ldb remains. Thus I
can't even test the script to debug it...
Has anybody encountered this before? How do I get rid of a persistent
ldb file when restarting IIS fails?
Also, I did already check out the ldb via MS's LDB Viewer utility. It
shows three users (all three the server itself), one as logged on and
not suspect, and two as not logged on and suspect. No committed
transactions. Interestingly, if I access the database through my
computer, its name then replaces the middle of the three users (always
the middle!) and won't disappear (even if I exit properly) until I
logoff my computer or restart IIS. When I'm in it says logged on and
not suspect; when I exit, logged off and suspect.
Bizarrely, through the web I can successfully access the same tables
that are presumably causing the locking issues with the script. (I'm
guessing that these are the ones I can't Design View without getting a
locking error.)
Michelle