Access database locking

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

  1. #1

    Default Access database locking

    Hi

    I am running a website off an access db with cf code. I have a couple of pages
    which can get ~500 users day and have noticed that since using a hit counter
    with code
    <cfoutput>
    <cftransaction>
    <cfquery name="storehits" datasource="xx">
    insert into hits(hitpage,hituser,hitvar,hitdate)

    values('#attributes.page#','#attributes.loginid#', '#attributes.var#',#attributes
    ..date#)
    </cfquery>
    </cftransaction>
    </cfoutput>

    i am quite frequently (say ~10 times/day) getting errors saying

    Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Could not update; currently
    locked by user 'admin' on machine

    Surely Access shouldnt fall over so quick or is it my code. Any suggestions
    please?

    Tim


    gottagetcodin Guest

  2. Similar Questions and Discussions

    1. JDBC - Universe Database - Record Locking
      Better late than never I guess...sorry, I subscribed to the thread, but did not get an email from the forum. Anyway, yes we use UV exclusively on...
    2. Access Record Locking
      Hi my access database has created another file called access record locking and I was just wondering why it has done this? Thanks.
    3. Database inserts locking table
      I am sure there is a better way to do this.... but basically I have a coldsuion page that loops over records retrieved from a query from multiple...
    4. ADO/Access Locking Site
      I've run into this problem recently and I haven't been able to pin it on anything. I've been doing ADO connections to Access databases for small...
    5. Access 2000 locking up in Windows XP
      I hope I can describe this problem. I have an Access 2000 with a SQL 2000 back end application. The following problem only seems to exist when...
  3. #2

    Default Re: Access database locking

    I would recomend to move away from access database if you wanted to use it for your website
    Choices
    MYsql free
    MSsql 4k
    Oracle lotmore
    jorgepino Guest

  4. #3

    Default Re: Access database locking

    Are you sure nobody's opening it in Access or a scheduled Compact is running?
    The only time I've EVER seen that exact message (and often, silly me) is when I
    have the table open in Design View in Access or in the middle of a Compact
    Files command.

    JMGibson3 Guest

  5. #4

    Default Re: Access database locking

    Did you ever figure out the culprit on this problem? I've been recently having
    the same issues, although I'm getting the error much more frequently than you.
    I haven't been able to put my finger on the real issue at all, so I just wanted
    to see what your thoughts were.

    TWG 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