Breaking lock on Access file

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

  1. #1

    Default Breaking lock on Access file

    How do I break the lock on an Access file? Querying a non-existent table
    doesn't seem to work in MX.


    --
    Bryan Ashcraft (remove brain to reply)
    Macromedia Certified Dreamweaver Developer
    Paragon Visuals :: [url]http://www.paragonvisuals.com[/url]
    TMM Volunteer (DW) :: [url]http://www.macromedia.com/go/team/[/url]
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Got Questions? Get Answers
    DWFAQ :: [url]http://www.dwfaq.com[/url]
    PVII :: [url]http://www.projectseven.com/go/[/url]
    --
    Bryan Ashcraft ::TMM:: Guest

  2. Similar Questions and Discussions

    1. lock file
      Using Contribute version 3. Drafts erased prior to publishing and now unable to edit. Receive error message stating that someone else is editing...
    2. Database Access: Lock? Readonly? What to do...
      I have a CF site that uses MS Access databases for many different things, from creating the actual site, to doing Admin-related stuff like adding,...
    3. break access database lock in mx?
      all, I'm trying to remotely compact an access database that holds all client variables. problem is, the ldb lock is there and i don't know how to...
    4. Access + Asp + multiuser + table lock
      Hi all. In my asp site, i have a "Search and Sort" button that creates a lot of activity in my access database. Clciking on the button does...
    5. How to access the application-object to lock it from session?
      Hi, You try to access non static member from static function. Use HttpContext.Current.Application.Lock (); to solve your situation. Natty...
  3. #2

    Default Re: Breaking lock on Access file

    Hi,

    You can not break a lock on an access database, thats why it's better to use
    SQL Server or MySQL instead. The lock on the access database means that there
    is another program the have created a perminate link to it an has not released
    it, that has always been the probelm with access.

    Hope this helps

    Joolz

    joolzzz Guest

  4. #3

    Default Re: Breaking lock on Access file

    joolzzz wrote:
    > Hi,
    >
    > You can not break a lock on an access database, thats why it's better to use
    > SQL Server or MySQL instead. The lock on the access database means that there
    > is another program the have created a perminate link to it an has not released
    > it, that has always been the probelm with access.
    >
    > Hope this helps
    >
    > Joolz
    >
    I agree that Access isn't as good as SQL Server. In fact this will be up
    sized to SQL Server once development and testing are done. Apparently
    CFMX is keeping the link as I'm the only one accessing the file and I
    have to wait 30-45 minutes after closing my browser for the lock to be
    released. In CF5 you could just query a non-existent table and the lock
    would be released, but this isn't working on CFMX.

    --
    Bryan Ashcraft (remove brain to reply)
    Macromedia Certified Dreamweaver Developer
    Paragon Visuals :: [url]http://www.paragonvisuals.com[/url]
    TMM Volunteer (DW) :: [url]http://www.macromedia.com/go/team/[/url]
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Got Questions? Get Answers
    DWFAQ :: [url]http://www.dwfaq.com[/url]
    PVII :: [url]http://www.projectseven.com/go/[/url]
    --
    Bryan Ashcraft ::TMM:: Guest

  5. #4

    Default Re: Breaking lock on Access file

    You probably should de-select Maintain Connections in the advanced settings for
    your Access data source in ColdFusion Administrator. I doubt that you will see
    any difference in performance, and this has been something that was recommended
    by Macromedia in the past for Access databases.

    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17034[/url]

    Phil

    paross1 Guest

  6. #5

    Default Re: Breaking lock on Access file

    paross1 wrote:
    > You probably should de-select Maintain Connections in the advanced settings for
    > your Access data source in ColdFusion Administrator. I doubt that you will see
    > any difference in performance, and this has been something that was recommended
    > by Macromedia in the past for Access databases.
    >
    > [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17034[/url]
    >
    > Phil
    >
    Thanks for the reply. Unfortunately I don't have access to the CF Admin.
    I'll pass the recommendation and link along to the admin, but won't hold
    my breath on anything being done on that end. Guess I'm just screwed on
    this one, huh?

    --
    Bryan Ashcraft (remove brain to reply)
    Macromedia Certified Dreamweaver Developer
    Paragon Visuals :: [url]http://www.paragonvisuals.com[/url]
    TMM Volunteer (DW) :: [url]http://www.macromedia.com/go/team/[/url]
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Got Questions? Get Answers
    DWFAQ :: [url]http://www.dwfaq.com[/url]
    PVII :: [url]http://www.projectseven.com/go/[/url]
    --
    Bryan Ashcraft ::TMM:: Guest

  7. #6

    Default Re: Breaking lock on Access file

    I would like to believe that your admin would consider it in his/her best
    interest to comply with the recommendations from Macromedia regarding the
    proper administration of ColdFusion data sources, but then again, some folks
    have their own agenda, eh?

    Good luck with this one.
    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