Can't upload revised database

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default Re: Can't upload revised database

    :D Thanks for your help!!! Works great now!
    outdoorsgal Guest

  7. #6

    Default 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

  8. #7

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139