Ask a Question related to Coldfusion Database Access, Design and Development.
-
outdoorsgal #1
Can't upload revised database
I'm trying to upload a revised Access mdb file to our server. There is an ldb
file present almost all the time because we have 6K+ users worldwide and
someone is always using the database. I'd like to force the database to close
so I can upload the new file. What can I do?
outdoorsgal Guest
-
Upload File to Access Database
I have a Dreamweaver Page which is attached to a MS Access Database in Cold Fusion. In the page is a browse button which opens the select file... -
upload a jpg to an access database?
Is it possible to upload a jpg file into a access database or is there a better method for diplaying user uploaded pictures? I want registered users... -
How to upload image to database?
I am re-doing a site for a friend and have hit a wall. How do I upload an image from a user's computer directley into a database? I have done... -
upload a file to a database in my sql
I have a B.D made in access and of which also I have respective tables of the B.D. in xls. However what I want is: To come back to make the... -
Script to upload images and add to database?
Is there a script that will allow upload of multiple images at once to a FTP server, and simultaneously write that list to a MySQL table? I need to... -
paross1 #2
Re: Can't upload revised database
First of all, the Maintain Connections attrribute in your Access data source
configuration should be unchecked. Also, you should have a means to temporarily
disable your web site, or at least, the pages that access the database, so that
you can freely update your database file when you are guaranteed single user
access. I have a variable that I can set in application.cfm that will refirect
users to a "trmporarily disabled for maintenance" page while I am doing this
sort of maintenance,. Or, for a quick and dirty way, just place a <CFABORT> tag
at the head of your application.cfm and your entire site will be disabled.
Phil
paross1 Guest
-
outdoorsgal #3
Re: Can't upload revised database
Phil,
I disabled the website at 10:30 this morning ( 2 hours ago) and still can't
upload a new data file. How do I disable Maintain Connection in the data
source? I'm getting desperate. Thanks for your help.
Jan
outdoorsgal Guest
-
paross1 #4
Re: Can't upload revised database
In your ColdFusion Administrator, you would have to select your data source and the advanced settings to see this particular attribute, then un-select it.
paross1 Guest
-
outdoorsgal #5
Re: Can't upload revised database
:D Thanks for your help!!! Works great now!
outdoorsgal Guest
-
CoderGuy #6
Re: Can't upload revised database
Here's an easy way that has always worked for me and does not involve changes
in the CF Administrator (which sometimes you might not have access to). This
breaks the DSN connection to your database and removes the Access .ldb file so
you can overwrite the database: <CFSET
temp=CFUSION_DISABLE_DBCONNECTIONS('#DSN#', 1)> Of course, don't forget to
re-enable the DSN when you're done: <CFSET
temp=CFUSION_DISABLE_DBCONNECTIONS('#DSN#', 0)>
CoderGuy Guest
-
paross1 #7
Re: Can't upload revised database
Does CFUSION_DISABLE_DBCONNECTIONS still work with MX? The only reference that
I have found for this is as an added administrative function for CF 4.5.
[url]http://www.macromedia.com/support/documentation/en/coldfusion/45update.html[/url]
Phil
paross1 Guest



Reply With Quote

