while I agree that Steve's suggestion makes some sense, if you are logged on
the the machine that is hosting the CF server you can also set up a CMD file
on the desktop that contains the following:

-----------------------start sample code
@ECHO OFF

net stop "Cold Fusion Executive"
net stop "Cold Fusion RDS"
net stop "Cold Fusion Application Server"

net start "Cold Fusion Application Server"
net start "Cold Fusion RDS"
net start "Cold Fusion Executive"

@ECHO OFF
PAUSE
---------------------------------end sample code

which will stop and re-start the CF services. this will effectively nuke
that LDB as well. However the above is for NT, I dunno if you can use it on
a Win95/98/2k machine, maybe just the latter .


----- Original Message -----
From: "Steve Pierce" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 1:47 PM
Subject: RE: Death to .ldb !!!


> If you add this code to the bottom of your page, it should help alleviate
> some of the problems with the lock file.
>
> <cfset CFUSION_DBCONNECTIONS_FLUSH()>
>
>  - Steve
>
>
> -----Original Message-----
> From: Dru Whitledge [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 05, 2000 12:34 PM
> To: CF-Talk
> Subject: Death to .ldb !!!
>
>
> If anyone else is working with MS Access you've probably had the same
> annoying experience!!
>
> I often have to swap backed up databases (.mdb files) and if I've been
> using the old database that I want to copy over -- there is always a damn
> .ldb (file / record locking file) in the directory that prevents me from
> overwriting the old database.
>
> I know how to cure this problem on the web (make a dummy query to a
> nonexistent table in the same database) but that technique doe not seem to
> work on my hard drive? I usually end up, annoyed as hell, having to
re-boot
> to be able to delete the damn thing off.
>
> Does anybody know of a simpler way to dispatch this pesky little .ldb file
> -- without rebooting?
>
> Thanks,
>
> Dru
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to