Link to home
Start Free TrialLog in
Avatar of VK
VKFlag for Germany

asked on

Error 3050 Couldn't lock file on NT-Systems

Hello Experts.

I'm getting the above Error when all of the
following cases are true:

1. The first exe (32bit,vb6) is running on a NT system.
   In this app i'm using DAO3.6 to access an Access 2.0
   Database.
2. The 2nd exe (16 bit,vb3)is running on the same system
   In that app i'm using DAO 2.? to access the same Access 2.0 Database.
3. When the 2. app has updated a record in the database (which wasn't opened exclusively) the first app cannot open the same database.

>> The error doesn't occur on Win9.x systems! <<
SHARE.EXE isn't needed any more.

Tanks in advance.

V.K.


ASKER CERTIFIED SOLUTION
Avatar of pkohlmil
pkohlmil

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VK

ASKER

Hello pkohlmil !

Sorry for the delay. The ee-server wasn't available for several days :-)

Ty for your effort. Meanwhile i solved the problem:

When the last 32-Bit app accessing the database was terminated all entries in the .ldb file were deleted.
After that no 32-Bit app could access the database (Error 3050). So i decided to make an (dummy) app which is startet at first and only opens the database and keeps it open until the last app is terminated.

I had no time and ability to test your comment (beacause ee wasn't available - nimda ?).

I give you the points because you were the only one who tried to help me :-)