Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 19th, 2003, 06:14 PM
wcmanes wcmanes is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 wcmanes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to wcmanes
Locking behaviour

I have an access application with a split FE (forms) and BE (tables). There are also several read-only data access pages using the BE as a data source.

Most users only view the data via the data access pages. These users have read-only access to the database files and the directory containing them. A few users manupulate the data using the FE database and the forms.

My problem is that, when a "power user" opens the database directly (either the FE or BE), the data access pages become unuseable for the "normal users". They cannot bind to the database due to an exclusive lock. I have both databases set to shared mode. The messages that the users get are:

Data provider could not be initialized.

Could not use "; file already in use

Does anyone know how I can get around this problem so that the data access pages are "always available"?

TIA

Reply With Quote
  #2  
Old November 20th, 2003, 10:13 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
How is you FE DB linked of the BE Db?

S-

Reply With Quote
  #3  
Old November 20th, 2003, 10:45 AM
wcmanes wcmanes is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 wcmanes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to wcmanes
Via linked tables in Access. I actually started with one database and then used the "split" utility to break it apart.

Reply With Quote
  #4  
Old November 20th, 2003, 01:43 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Are you using bound or Unbounded forms in you FE. If there are bounded forms, that may be causing you problem, becuase as you are looking at the data in the recordset, it locks those records


S-

Reply With Quote
  #5  
Old November 24th, 2003, 03:06 PM
wcmanes wcmanes is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 wcmanes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to wcmanes
I was finally able to solve my problem. It turns out that ALL users must be able to read and write the .ldb file. If not, then the database is opened in exclusive mode. This means everyone must have read/write access to the directory containing the database. I changed the permissions on the directory but set the .mbd files to be read only and everything seems to work as I had hoped.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Locking behaviour


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway