Why not try putting a throwontimeout="yes" with a catch around it, that may help.
----- Original Message ----- From: "Marlon Moyer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 3:35 PM Subject: Locking problem > I've got a bit of code that exports a crystal report to a pdf file. > I've surrounded this code with a lock like so: > > <cfllock name="myLock" type="Exclusive" timeout="180"> > > ... export to pdf code. > > </cflock> > > The problem is that sometimes the reports run so long that they timeout > the lock. From then on, anyone who tries to run a report gets a "timed > out trying to obtain exclusive access". The only thing that clears this > is to stop and start CF services. Is there any way that the lock can > just expire. > > I'm running CF5 on win2k > > Thanks > > Marlon > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

