Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Database locked.

    Upon running my asp application, the application locks up.
    I now see a file with .ldb in the fpdb folder which I
    cannot delete. Apparently this is a duplicate version of
    the database that the application is trying to access.

    How do I get this application from keep locking up?
    urich Guest

  2. Similar Questions and Discussions

    1. Database locked up
      I'm using an Access database and it seems to think it's being access by a process even though it's not. I can pull data, but cannot save any...
    2. gif is locked
      I pasted a snapshot in ps and saved as a gif. Now, I need to upload it for an example but I need to blur out the password. When I reopen the gif...
    3. locked out of my pc
      My kid was playing a joke and he changed the password on my wondow xp system, how do I got pass this?
    4. locked out
      Computer locked me out when idle for a couple of min. Requests admin. password, I forgot it. I had to cut power to log back in . It happened twice...
    5. I'm Locked Out!
      My mother purchased my computer from some one else she knew, and it was fine. I had administrator privileges and everything, but I let someone use...
  3. #2

    Default Re: Database locked.

    hello,

    as access has no transaction coordinator any R/W access to the database will
    lock it in read only mode. This a normal behaviour.

    So, you have to connect your db just once, putting the connexion in the
    application object.

    "urich" <urich@wlake.org> a écrit dans le message de
    news:011801c38060$69055a00$a101280a@phx.gbl...
    > Upon running my asp application, the application locks up.
    > I now see a file with .ldb in the fpdb folder which I
    > cannot delete. Apparently this is a duplicate version of
    > the database that the application is trying to access.
    >
    > How do I get this application from keep locking up?

    Martin CLAVREUIL Guest

  4. #3

    Default Re: Database locked.

    urich wrote:
    > Upon running my asp application, the application locks up.
    > I now see a file with .ldb in the fpdb folder which I
    > cannot delete. Apparently this is a duplicate version of
    > the database that the application is trying to access.
    >
    No - the ldb file is the lock file which the first user of the database must
    be able to create. It is not a duplicate of your database. It contains
    information about which users are currently using the database. Subsequent
    users of the database must be able to write to this file if it exists (so
    their name can be added to or deleted from the list of current database
    users), or create the file if it does not exist. The last user of the
    database must have permissions to delete this file, or else the database can
    remain locked.

    This means that users of your database must have Change permissions (read
    and write) for the folder containing your database file. With asp, this
    means that the IUSR_machine account must be granted this level of
    permission, as well as the IWAM_machine account. see:
    [url]http://www.aspfaq.com/show.asp?id=2062[/url]

    HTH,
    Bob Barrows


    Bob Barrows Guest

  5. #4

    Default Re: Database locked.

    Martin CLAVREUIL wrote:
    > hello,
    >
    > as access has no transaction coordinator any R/W access to the
    > database will lock it in read only mode. This a normal behaviour.
    Not true.
    >
    > So, you have to connect your db just once, putting the connexion in
    > the application object.
    >
    This is the worst thing you can possibly do if you want your application to
    scale. See this:
    [url]http://www.aspfaq.com/2053[/url]

    Bob Barrows


    Bob Barrows 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