Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

My sister opened a computer store in Hawaii. She sells C shells down by the seashore.


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

SubjectAuthor
o Re: Locking File won't disappear!James Fortune

1
Re: Locking File won't disappear!

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

  copy mid

https://rocksolidbbs.com/devel/article-flat.php?id=841&group=comp.databases.ms-access#841

  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.


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor