G
Guest
I have the now almost ‘standard’ problem with multiuser access and have I
scoured the internet for a solution, but with no luck to date. Please help!
Problem: Once one user has access to the tables, another user is prevented
from accessing those tables, until the first user leaves.
I have the following setup:
PC1: Front end (client) database with forms, reports, queries and a couple
of local ‘temporary’ tables.
PC2: Front end – same as PC1 (client) database with forms, reports, queries
and a couple of local ‘temporary’ tables.
The back end database of just tables resides on PC1 in a shared folder,
fully accessible on the network to PC2. Both front end databases are linked
to the back end database.
If I run PC1 Front end it creates a record locking ‘database’ in the same
folder as the Back End. I can use the PC1 front end to view all forms bound
to the back end. I have full functionality.
When I run PC2 front end the application hangs (not responding) and remains
so until I close PC1 front end. Immediately on doing so PC2 front end runs
successfully and I can access all back end tables.
Further from this, if I run the PC2 front end first I have full access….then
concurrently starting PC1 this also runs fully, accessing the same back end.
It will perform record locks and record changes perfectly!!
Sounds familiar?
In summary, if PC1 runs first, no other front end on other workstations can
access it. It seems to me that PC1 has full ownership of the back end and
prevents further users, but doesn’t mind ‘coming in after’ another user has
the back end locked.
(Naturally, when PC1 is run first, it creates the back end record locking
file with the extension (.lbd for Access 203 or .laccdb for Access 2007).
Closing PC1 front end deletes the back end record locking file. Running PC2
front end has the same effect).
Now for what I have checked:
The back end is on PC1 shared. This is FULLY shared, with full permissions.
From PC2 I can create a test text file on the shared folder, I can edit the
test text file, I can delete the test text file. Full rights.
The folder and back end database are not Read only.
The back end database and front end databases are all opening in Shared
mode, and do not have record locking invoke by default.
I’ve eliminated the front end databases by simply opening the back end
database on PC1 and holding a table open. I can then open the same back end
database from PC2 but am unable to open a table, even a different table
opened by PC1. Closing that table held by PC1 allows PC2 to open other tables.
I’m running Vista/Office 20007/Access 2007 on both PC’s, now with all front
end and back end as Access 2007 format (.accdb)
I’ve had the same problem when PC1 is XP with the front end and the back end
uses .mdb and PC2 is Vista with the front end using .accdb format. Therefore
it can’t be any ‘special’ administrative right that Vista demands since it
also occurs with the XP machine.
I’ve moved the back end to PC2 and the reverse happens…PC1 cannot get access
if PC2 is run first.
I’ve moved the back end to a third computer, call it PC3 which PC1 and PC2
have full administrative rights to. Whichever PC1 or PC2 opens the backend
first, prevents the other opening it too.
I’ve switched off all the firewalls to be sure.
I’ve followed every tip I’ve found on the internet on fixing the problem…but
no success.
My thoughts are that perhaps there’s an ownership problem with the record
locking file (.lbd) preventing non-local access??
(note that I prevent PC1 from accessing PC2, even Public folders, but I
don’t think this is an issue since there is nothing PC1 needs to ‘relate’
back to PC2 with in respect of the database since all transactions are made
where the back end is…on PC1)
This looks to be a rather common problem raised, but with no real solution.
Most explanations always talk about database splitting and permissions, but
as you can see I’ve tried these. What more can I do for permissions other
than create/edit/save/delete!?!
I’d really appreciate some help with this please.
Cheers,
scoured the internet for a solution, but with no luck to date. Please help!
Problem: Once one user has access to the tables, another user is prevented
from accessing those tables, until the first user leaves.
I have the following setup:
PC1: Front end (client) database with forms, reports, queries and a couple
of local ‘temporary’ tables.
PC2: Front end – same as PC1 (client) database with forms, reports, queries
and a couple of local ‘temporary’ tables.
The back end database of just tables resides on PC1 in a shared folder,
fully accessible on the network to PC2. Both front end databases are linked
to the back end database.
If I run PC1 Front end it creates a record locking ‘database’ in the same
folder as the Back End. I can use the PC1 front end to view all forms bound
to the back end. I have full functionality.
When I run PC2 front end the application hangs (not responding) and remains
so until I close PC1 front end. Immediately on doing so PC2 front end runs
successfully and I can access all back end tables.
Further from this, if I run the PC2 front end first I have full access….then
concurrently starting PC1 this also runs fully, accessing the same back end.
It will perform record locks and record changes perfectly!!
Sounds familiar?
In summary, if PC1 runs first, no other front end on other workstations can
access it. It seems to me that PC1 has full ownership of the back end and
prevents further users, but doesn’t mind ‘coming in after’ another user has
the back end locked.
(Naturally, when PC1 is run first, it creates the back end record locking
file with the extension (.lbd for Access 203 or .laccdb for Access 2007).
Closing PC1 front end deletes the back end record locking file. Running PC2
front end has the same effect).
Now for what I have checked:
The back end is on PC1 shared. This is FULLY shared, with full permissions.
From PC2 I can create a test text file on the shared folder, I can edit the
test text file, I can delete the test text file. Full rights.
The folder and back end database are not Read only.
The back end database and front end databases are all opening in Shared
mode, and do not have record locking invoke by default.
I’ve eliminated the front end databases by simply opening the back end
database on PC1 and holding a table open. I can then open the same back end
database from PC2 but am unable to open a table, even a different table
opened by PC1. Closing that table held by PC1 allows PC2 to open other tables.
I’m running Vista/Office 20007/Access 2007 on both PC’s, now with all front
end and back end as Access 2007 format (.accdb)
I’ve had the same problem when PC1 is XP with the front end and the back end
uses .mdb and PC2 is Vista with the front end using .accdb format. Therefore
it can’t be any ‘special’ administrative right that Vista demands since it
also occurs with the XP machine.
I’ve moved the back end to PC2 and the reverse happens…PC1 cannot get access
if PC2 is run first.
I’ve moved the back end to a third computer, call it PC3 which PC1 and PC2
have full administrative rights to. Whichever PC1 or PC2 opens the backend
first, prevents the other opening it too.
I’ve switched off all the firewalls to be sure.
I’ve followed every tip I’ve found on the internet on fixing the problem…but
no success.
My thoughts are that perhaps there’s an ownership problem with the record
locking file (.lbd) preventing non-local access??
(note that I prevent PC1 from accessing PC2, even Public folders, but I
don’t think this is an issue since there is nothing PC1 needs to ‘relate’
back to PC2 with in respect of the database since all transactions are made
where the back end is…on PC1)
This looks to be a rather common problem raised, but with no real solution.
Most explanations always talk about database splitting and permissions, but
as you can see I’ve tried these. What more can I do for permissions other
than create/edit/save/delete!?!
I’d really appreciate some help with this please.
Cheers,