Issue with ASP/IIS and remaining Access 2K lockfile .ldb

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

  1. #1

    Default Re: Issue with ASP/IIS and remaining Access 2K lockfile .ldb

    "Immanuel" <wetteraar@hotmail.com> wrote in message
    news:2791C693-262A-4CBC-A382-5462D169167E@microsoft.com...
    > Dear all,
    >
    > as you all know, IIS manages application protection (in/out-of process),
    which in turn manages connection pooling. A way to empty the pool, is by
    unloading the application protection.
    >
    > I have several ASP applications on a Win 2K server (IIS 5 web server) with
    Access 2K back-end DB. Apparently, connections are not closed properly in
    code (e.g. cn.Close set cn = nothing) because .ldb lockfiles remain.
    >
    I'm not sure that's true - I would suggest following-up in asp.general and
    asp.db ...

    --
    Tom Kaminski IIS MVP
    [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

  2. Similar Questions and Discussions

    1. Any experiences with LockFile::Simple module?
      folks, for handling concurrency related issues i wanted to hear about experiences of others using the LockFile::Simple (or similar modules)...
    2. Websites not accessable on IIS 6.0 when access.lockfile occure
      Hi ! We have a major problem with MS Access and our IIS 6.0. Some of the websites run MS Access (ASP-code) and when access.lockfile occure...
    3. counter that counts down time remaining
      H I made a 9 minutes long Flash presentation I need to have a counter that will count down time from begining to end of the presentation, in...
    4. counting remaining extents on tablespaces
      Hello, I'm a newbie and am having trouble configuring my tablespaces on an 8.1.7 database running on server 2003. They are working for now but i...
    5. CD-properties and volume on/remaining on a CD disk.
      In windows XP when I click on "properties" for a Disk, be it DVD or CD-RW I'm shown an incorrect amount of volumn: eg. if I place a totally 'clean'...
  3. #2

    Default Re: Issue with ASP/IIS and remaining Access 2K lockfile .ldb

    Tom Kaminski [MVP] wrote:
    > "Immanuel" <wetteraar@hotmail.com> wrote in message
    > news:2791C693-262A-4CBC-A382-5462D169167E@microsoft.com...
    >> Dear all,
    >>
    >> as you all know, IIS manages application protection (in/out-of
    >> process),
    > which in turn manages connection pooling. A way to empty the pool, is
    > by unloading the application protection.
    >>
    >> I have several ASP applications on a Win 2K server (IIS 5 web
    >> server) with
    > Access 2K back-end DB. Apparently, connections are not closed
    > properly in code (e.g. cn.Close set cn = nothing) because .ldb
    > lockfiles remain.
    >>
    >
    > I'm not sure that's true - I would suggest following-up in
    > asp.general and asp.db ...
    If ldb files are remaining, it is usually because the last user in the
    database does not have the authority to delete them. If the application is
    running in its own process, then the user is the IWAM account, not the IUSR
    account, so you need to be sure that the IWAM account has Change permissions
    for the folder containing the database file, in addition to the IUSR
    account. If using Integrated authentication, then the users need to have
    those Change permissions.

    FWIW, I would not be too concerned about emptying the pool: ADO does a good
    job of managing that on its own.


    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  4. #3

    Default Re: Issue with ASP/IIS and remaining Access 2K lockfile .ldb

    "Immanuel" <anonymous@discussions.microsoft.com> wrote in message
    news:1FE4C4FE-5323-4322-A212-24C530A592BF@microsoft.com...
    > Maybe I could re-phrase my problem like this:
    >
    > I need to be able to delete all open ldb files (thus unlock the Access 2K
    DB's used by the ASP applications) with a VB 6 batch program, without having
    to lookup all these ldb files.
    >
    > I'm hoping there is a way to get programmatically to the connection pool
    managed by IIS and emptying this pool would delete all open ldb files, but
    this is a hunch.
    >
    > If this could be realised, I think I'll make the code public, because I've
    seen many others in the forums asking for a way to get rid of ldb files ;-)
    >
    > Thank you for your feedback all
    You've been given good advice - and no one so far in here thinks it's
    necessary.

    You're saying you can't find the newsgroups
    microsoft.public.inetserver.asp.general and
    microsoft.public.inetserver.asp.db?
    [url]http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.inetserver.asp.ge neral&lang=en&cr=US[/url]
    [url]http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.inetserver.asp.db &lang=en&cr=US[/url]

    Go to those groups and get some "expert" advice from users who do this
    everyday and show it to the person asking you to delete the ldb files, maybe
    they can learn something too ...

    --
    Tom Kaminski IIS MVP
    [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

  5. #4

    Default Re: Issue with ASP/IIS and remaining Access 2K lockfile .ldb

    Tom

    the links you provided worked, thanks! I'll have a look in these forums too

    I appreciate the advice, but you know how people can be stubborn about an idea heh

    Maybe they'll change their mind afterall...
    Immanuel Guest

  6. #5

    Default Re: Issue with ASP/IIS and remaining Access 2K lockfile .ldb

    Bob Barrows wrote:
    > FWIW, I would not be too concerned about emptying the pool: ADO does
    > a good job of managing that on its own.
    >
    I should add that it is not a good idea to delete the ldb files if a user is
    currently connected to the database.

    Instead of concentrating on searching for and deleting ldb files, you should
    be concentrating on making sure all database users have sufficient authority
    to delete them when they are the last users exiting the database.

    If you are having so many issues with Access ldb files, perhaps it is time
    to consider that you have exceeded Access' capabilities and move on to a
    server-based database such as SQL Server (the MSDE version of SQL Server
    comes with Access)

    Bottom line: I do not know of any way to gain access to the ODBC connection
    pool or the OLEDB session pool.

    HTH,
    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] 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