Ask a Question related to Coldfusion Database Access, Design and Development.
-
jgladnick #1
Access database wont unlock
I am finding it impossible to unlock an access database.
the specs:
Windows 2000 server
CF 5.0
IIS
Access db created in Access 2003
The problem: the damned ldb file is there. I have attempted to re-verify the
database in CF admin, as well as intentionally crashing the database by calling
tables that dont exist. The only way i can unlock it is if no one uses the
database for like 20-30 minutes and it unlocks itself. Its very odd. any
ideas?
jgladnick Guest
-
Database is wont give me access
I have loaded my webpages on the net and when I call a page to the browser it gives me the error: Security: The requested template has been denied... -
My database wont work.
Basicly im new to asp. Ive been learning to use it through one of the dummies books. I have the following error: Error Type: Microsoft OLE DB... -
Write Access to Access DataBase
I'm trying to update a Access Database from information gained from a ASPX page. The database will not update. I'm sure it is in some security... -
Why wont this access an array???
Can someone please tell me how to access elements from a multiple selection list? From what ive read on other posts, this is correct. I keep... -
Unlock Computer
I automatically get a screen called: Unlock Computer everytime I leave the computer. How can I get rid of this lock and eliminate locking the... -
xcoldnet #2
Re: Access database wont unlock
DURA LEX SED LEX
That's the way it is, once the database is on the server you have to wait
20-30 minutes of inactivity before the damn .ldb file disappear.
If you have to do frequent maintenance of the databse the best way is to
create an interface online, a kind of admin web page with login that will let
you manipulate the records in the database even when the .ldb is present.
IHTH,
Dario
xcoldnet Guest
-
paross1 #3
Re: Access database wont unlock
Make sure that you do not select Maintain Connections for your Access
datasource in CF administrator, as this is not recommended. (See the old tech
note attached) I believe that the recommendation still applies.
[url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17034[/url]
In ColdFusion Administrator, modify every Access ODBC Data source and set the
following (you will need to click the CF Settings button to see these):
Buffer Size = 0 (ODBC only)
Page Timeout = 600 (ODBC only)
Uncheck Maintain Database Connections
Phil
paross1 Guest
-
MattRobertson #4
Re: Access database wont unlock
Its easy to get rid of the ldb file. Just throw a known bad query at the
database.
<cfquery datasource="foo" name="bar">
SELECT bingo FROM nameo WHERE yoo='Hoo'
</cfquery>
A goofball query like the above will immediately break the lock and you can do
as you please... assuming of course you do not have a table where these
parameters are correct :D
That link that paross1 gave you is very, very old information and no longer
applicable unless you are using CF 4 or CF 5. Even so, I wouldn't go anywhere
near an OLE connection in CF. I tried it back in the day (CF 4.5 I believe)
and found all sorts of weird things using it... Not something you have to worry
about now that its the 21st century :D You should use a standard JDBC
connection, which didn't exist back when that article was written.
I would, however, definitely uncheck "maintain database connections", although
I'm not sure the reasons for its use still exist... Do it out of paranoia until
told differently by someone who knows. Be advised its use will torpedo
performance, if such a word as 'performance' can be used in association with
Access.
MattRobertson Guest
-
paross1 #5
Re: Access database wont unlock
That link that paross1 gave you is very, very old information and no longer
applicable unless you are using CF 4 or CF 5.
If you notice, the original poster is using ColdFusion 5, so I would say that
the uncheck maintain database connections recommendation would apply.
I would, however, definitely uncheck "maintain database connections"
That is all that I was saying. Also, I don't know where you got the OLE
connection idea, as I was referring to an ODBC connection to Access.
Phil
paross1 Guest



Reply With Quote

