Re: Could not update; currently locked error
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Tue, 19 Feb 2008 11:47:00 -0500
Andriy wrote:
Hello,Assuming the database is not marked Read-Only or resides on a cd, this
I run a C++ test program that updates records in MS Access database
(mdb file) from different threads. I use ADO to access the database.
As far as I understand the underlying provider is MS Jet OLEDB. I get
the following error: Code = 80004005
Code meaning = Unspecified error
Source = Microsoft JET Database Engine
Description = Could not update; currently locked.
I do not understand why I get this error even when I insert records or
update different records. Is there any way to tell ADO/Jet not to
produce error but wait till records are unlocked?
is most likely a permissions problem. In order for multi-user activity
to be supported, all users of the database file need to be able to
create, modify and delete a locking file (.ldb) in the folder containing
the database. Users need Modify permissions for that folder, not just
the database file.
--
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.
.
- Follow-Ups:
- Re: Could not update; currently locked error
- From: Andriy
- Re: Could not update; currently locked error
- References:
- Could not update; currently locked error
- From: Andriy
- Could not update; currently locked error
- Prev by Date: Could not update; currently locked error
- Next by Date: Re: Could not update; currently locked error
- Previous by thread: Could not update; currently locked error
- Next by thread: Re: Could not update; currently locked error
- Index(es):
Relevant Pages
|
Loading