Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

In these matters the only certainty is that there is nothing certain. -- Pliny the Elder


devel / comp.databases.ms-access / Re: Locking File won't disappear!

SubjectAuthor
* Locking File won't disappear!musicloverlch
+- Locking File won't disappear!James Fortune
+* Locking File won't disappear!Ulrich_Möller
|`- Locking File won't disappear!Cindy Krist
`- Locking File won't disappear!James

1
Re: Locking File won't disappear!

<3ff2d20b-a54c-4da4-9eb6-20d9b16fc2c9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=642&group=comp.databases.ms-access#642

  copy link   Newsgroups: comp.databases.ms-access
X-Received: by 2002:a05:622a:10b:b0:3f3:9171:e45b with SMTP id u11-20020a05622a010b00b003f39171e45bmr978391qtw.0.1684326828308;
Wed, 17 May 2023 05:33:48 -0700 (PDT)
X-Received: by 2002:a05:620a:45a7:b0:759:3149:b430 with SMTP id
bp39-20020a05620a45a700b007593149b430mr5545218qkb.1.1684326828129; Wed, 17
May 2023 05:33:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ms-access
Date: Wed, 17 May 2023 05:33:47 -0700 (PDT)
In-Reply-To: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=12.237.206.12; posting-account=v65ZwwoAAAB42EcOhzMGnfZ_MsR1rS7F
NNTP-Posting-Host: 12.237.206.12
References: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3ff2d20b-a54c-4da4-9eb6-20d9b16fc2c9n@googlegroups.com>
Subject: Re: Locking File won't disappear!
From: jamesfortune630@gmail.com (James Fortune)
Injection-Date: Wed, 17 May 2023 12:33:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2767
 by: James Fortune - Wed, 17 May 2023 12:33 UTC

On Monday, May 1, 2023 at 9:27:07 AM UTC-4, musicloverlch wrote:
> I have a large Access database and when it closes the locking file won't disappear. I've tried making a fresh database. I've tried Office 2019. I've tried Microsoft 365. Eventually, the database corrupts and I lose all my design work. I have rolled versions newer and older of Office and nothing seems to help. Anyone have anything else I can try?
>
> Thanks,
> Laura

That's a nagging problem that's been with Access Developers for many years. One way to help is to keep a table of users who are logged in. Even doing that, sometimes the lock file persists even after verifying that all users are logged out. For Access databases connected to SQL Server, say on Citrix, I've discovered that rebooting the server allows me to delete the lock file. Server Admins might know other ways to delete the lock file without rebooting. I also use a variable in SQL Server to serve as a shutdown flag. When set, a hidden form on a timer detects the flag and becomes visible to let the user know they have 10 minutes to finish their work before Access shuts them down. The shutdown flag doesn't guarantee that the lock file will become available for deletion when the forced shutdown occurs, but it provides peace of mind that no one will get nuked in the middle of work if a reboot occurs and usually takes care of the situation where a user forgets to log out.

Locking File won't disappear!

<5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=884&group=comp.databases.ms-access#884

  copy link   Newsgroups: comp.databases.ms-access
X-Received: by 2002:a05:622a:15c3:b0:3f0:a400:712e with SMTP id d3-20020a05622a15c300b003f0a400712emr4951663qty.10.1682947623169;
Mon, 01 May 2023 06:27:03 -0700 (PDT)
X-Received: by 2002:a05:622a:198c:b0:3ef:3cdf:c291 with SMTP id
u12-20020a05622a198c00b003ef3cdfc291mr5020821qtc.13.1682947622913; Mon, 01
May 2023 06:27:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ms-access
Date: Mon, 1 May 2023 06:27:02 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:2c7:8c00:17f0:2c60:5ab6:877f:472b;
posting-account=Lr72qQoAAADkUv-gyUq0hiLVTj6vT-m8
NNTP-Posting-Host: 2601:2c7:8c00:17f0:2c60:5ab6:877f:472b
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
Subject: Locking File won't disappear!
From: lhowey@gmail.com (musicloverlch)
Injection-Date: Mon, 01 May 2023 13:27:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: musicloverlch - Mon, 1 May 2023 13:27 UTC

I have a large Access database and when it closes the locking file won't disappear. I've tried making a fresh database. I've tried Office 2019. I've tried Microsoft 365. Eventually, the database corrupts and I lose all my design work. I have rolled versions newer and older of Office and nothing seems to help. Anyone have anything else I can try?

Thanks,
Laura

Re: Locking File won't disappear!

<u2oq3p$8vfu$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=885&group=comp.databases.ms-access#885

  copy link   Newsgroups: comp.databases.ms-access
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: knobbi38@arcor.de (Ulrich Möller)
Newsgroups: comp.databases.ms-access
Subject: Re: Locking File won't disappear!
Date: Mon, 1 May 2023 18:41:28 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <u2oq3p$8vfu$1@dont-email.me>
References: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 1 May 2023 16:41:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d00e7d0d054b64ad8cebc25ee19a4c3";
logging-data="294398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+E+kIRBZ68mFEGuSrc8zavrxsxQ1iTr0k="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:jG3em7WWWiZ2IZPXW8zMbPR/Ib4=
In-Reply-To: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
Content-Language: de-DE, en-US
 by: Ulrich Möller - Mon, 1 May 2023 16:41 UTC

Hi Laura,

Am 01.05.2023 um 15:27 schrieb musicloverlch:
> I have a large Access database and when it closes the locking file won't disappear. I've tried making a fresh database. I've tried Office 2019. I've tried Microsoft 365. Eventually, the database corrupts and I lose all my design work. I have rolled versions newer and older of Office and nothing seems to help. Anyone have anything else I can try?
>
We can only speculate. It is possible that another error occurs during
closing that can no longer be corrected.

Greetings Ulrich

Re: Locking File won't disappear!

<0c3346cb-6939-4136-b49b-804dd3c44148n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=886&group=comp.databases.ms-access#886

  copy link   Newsgroups: comp.databases.ms-access
X-Received: by 2002:a05:620a:15dc:b0:74e:18e:8eda with SMTP id o28-20020a05620a15dc00b0074e018e8edamr2736222qkm.4.1683032529453;
Tue, 02 May 2023 06:02:09 -0700 (PDT)
X-Received: by 2002:a05:622a:308:b0:3dc:3eac:eddb with SMTP id
q8-20020a05622a030800b003dc3eaceddbmr5430585qtw.13.1683032529135; Tue, 02 May
2023 06:02:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ms-access
Date: Tue, 2 May 2023 06:02:08 -0700 (PDT)
In-Reply-To: <u2oq3p$8vfu$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:5073:c200:710e:fee9:c9e:4218;
posting-account=aD5szwoAAABb__OwpgcFTqRK5TPVKp1O
NNTP-Posting-Host: 2600:4040:5073:c200:710e:fee9:c9e:4218
References: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com> <u2oq3p$8vfu$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0c3346cb-6939-4136-b49b-804dd3c44148n@googlegroups.com>
Subject: Re: Locking File won't disappear!
From: cindy@smbpartners.com (Cindy Krist)
Injection-Date: Tue, 02 May 2023 13:02:09 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1764
 by: Cindy Krist - Tue, 2 May 2023 13:02 UTC

Hi Laura,

This happens sometimes.
You can copy the database, then delete the original database, then try to delete the .ldb file.

Here's what I found on the web years ago and it works most of the time:
1. Open the database
2. Create a query and type: "Select A From B;"
3. Run the query; it will throw an error
4. Don't save it
5. Close the db. Then you should be able to delete the .ldb file if it doesn't go away on its own.

Good luck.
Cindy

Re: Locking File won't disappear!

<925e9a15-16ad-42a8-bae0-4eecb56fc5d1n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=887&group=comp.databases.ms-access#887

  copy link   Newsgroups: comp.databases.ms-access
X-Received: by 2002:ac8:5ac3:0:b0:3de:bafb:82b0 with SMTP id d3-20020ac85ac3000000b003debafb82b0mr6351266qtd.6.1683037500333;
Tue, 02 May 2023 07:25:00 -0700 (PDT)
X-Received: by 2002:ac8:5c53:0:b0:3e1:6129:f094 with SMTP id
j19-20020ac85c53000000b003e16129f094mr6417303qtj.7.1683037500071; Tue, 02 May
2023 07:25:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.databases.ms-access
Date: Tue, 2 May 2023 07:24:59 -0700 (PDT)
In-Reply-To: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=165.225.57.192; posting-account=ppcyeAgAAAD6WZyyBSZ-zZkZsrBu3yRo
NNTP-Posting-Host: 165.225.57.192
References: <5829a073-cd9d-42dc-8d90-2f8461d87fcfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <925e9a15-16ad-42a8-bae0-4eecb56fc5d1n@googlegroups.com>
Subject: Re: Locking File won't disappear!
From: lankfordjg@gmail.com (James)
Injection-Date: Tue, 02 May 2023 14:25:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: James - Tue, 2 May 2023 14:24 UTC

On Monday, May 1, 2023 at 8:27:07 AM UTC-5, musicloverlch wrote:
> I have a large Access database and when it closes the locking file won't disappear. I've tried making a fresh database. I've tried Office 2019. I've tried Microsoft 365. Eventually, the database corrupts and I lose all my design work. I have rolled versions newer and older of Office and nothing seems to help. Anyone have anything else I can try?
>
> Thanks,
> Laura

Hi Laura -

Is the Access db on a network or local? Just to make sure someone else doesn't have it open, even after you close it.
If, when you close Access, the ldb file persists, will it delete if you manually delete it via Explorer? If not, and you get an error about the file being in use, have you verified that Access is actually closed? (No processes of msaccess.exe still running; check Task Manager).

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor