×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Random "File is in use by another user (Error 108)" in my system

Random "File is in use by another user (Error 108)" in my system

Random "File is in use by another user (Error 108)" in my system

(OP)
I’m stuck with this problem for almost a month now : randomly, I receive the massage “File is in use by another user (Error 108)” when I try to open a table. It’s not always the same table, and it appear randomly in my system.

The only way I can reproduce the behavior is to open a table on one station, then issue FLOCK(), and try to open the same table on another station.

I’m absolutely sure I don’t use, in any part of the application, the FLOCK() function. As for record locking, I use a sub that verify if the record is available, update, then release immediately the record.
Sometimes, I use BEGIN / END TRANSACTION, but again, it’s brief and I know the tables involves are not the ones in this update.

Any idea ?

Thanks in advance.

RE: Random "File is in use by another user (Error 108)" in my system

Some commands lock the whole file when the table is not exclusive. For example, any REPLACE that involves multiple records does so. So does Xbase DELETE.

Tamar

RE: Random "File is in use by another user (Error 108)" in my system

(OP)
Hello Tamar. It’s very rare that I issue a “replace for” or a “replace all” on my tables. It’s usually when I want to clean memos but it’s not the case here. Also, I use a lot of local updatable views, so the table is not affected directly.

RE: Random "File is in use by another user (Error 108)" in my system

Hi,

Quote:


Also, I use a lot of local updatable views, so the table is not affected directly.

Asa you update the views and send the changes to the underlying tables, they are affected.

hth

MarK

RE: Random "File is in use by another user (Error 108)" in my system

Hello,

not sure but maybe a AV program locks the files, I remember kaspersky to be one of them during its hashing some years ago.


regards
tom

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close