Solved

access: cannot open database which is being opened by other pc

Posted on 2010-09-12
12
645 Views
Last Modified: 2012-05-10
on xp pc, I shared access database that was created by access 2007. If I opened it on other pc (win 7) which running access 2010, then I will not be able to open it from xp pc, but the opposite way will work.

the other thing I also noticed that if I edit data on win 7, it will not get saved in database...
0
Comment
Question by:okamon
  • 4
  • 4
  • 3
  • +1
12 Comments
 
LVL 84
Comment Utility
You must insure that your users have at least Modify permissions on the FOLDER hosting the database.

Does the Windows7 machine network correctly with the XP machine? There have been some reports of problems getting those two platforms to talk.
0
 
LVL 65

Expert Comment

by:rockiroads
Comment Utility
perhaps locking mechanism is different (the ldb file that is). is this one db that is shared by all? have u thought of splitting it up to front end and backend? frontend is your forms and code and contains tables linked to the backend db (which is data only). Each user has their own copy of the frontend. This might allow you to share the db,

Otherwise it could be the way the db is opened on 2010. Its not open for exclusive lock?
0
 
LVL 84
Comment Utility
Also, make sure the "other" machine is not opening the database in Exclusive mode. This can be a setting done in Access or can be achieved through the method used when opening the file. It can also happen is a user opens the database in Design mode (or any object in the database).
0
 

Author Comment

by:okamon
Comment Utility
the share folder is done by the simple share method on xp machine. So by default other user should have modify permission. I do see there is a lock icon on the ldb file. How can I set the mode in access?
0
 
LVL 65

Expert Comment

by:rockiroads
Comment Utility
how are users currently opening the db, are they using some kind of shortcut?

in msaccess 2010, ms have realised that ribbons is a pile of crap and brought back menus in some form thank god! anyways if you click on File/Options, on the general tab settings for new blank database is 2007? this doesnt matter too much if you could try set it back to 2003
Then in Client Settings, scroll down to Advanced and check the default open mode.
0
 
LVL 1

Expert Comment

by:momo4kids
Comment Utility
I have had this problem for a couple of years now.  You need to have a front end and a back end database.  Give all users their own front end linked to the common back end.

Since I make modifaction to the front end of my databases, I set up bat files that copy the front end from the server down to the user's PC each time they login.  It's worked like a charm for years.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 84
Comment Utility
<So by default other user should have modify permission>

Please don't assume that this is the case, especially when you're talking about a Windows7 machine interacting with an XP machine.  The newsgroups are replete with postings about issues exactly like this, and in a very large portion of those postings the end solution is permissions. Check those permissions, then check them again.

Maybe this will help, if you're having network issues:
http://windows.microsoft.com/en-US/windows7/Networking-home-computers-running-different-versions-of-Windows

I do agree that the best method is splitting the database, but that's not the root cause of your issue. While doing so may help with locking issues on the FE file, you'd still have permission issues on the BE file.

rocki: MS is fully committed to the Ribbons. As they told us at the MVP summit last year: Learn to love 'em, cause they're not going anywhere.
0
 

Author Comment

by:okamon
Comment Utility
thanks. I will try and update soon
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 300 total points
Comment Utility
Scott, slowly getting used to ribbons but still find using access 2007 a pain. My answer to get around the ribbons is to use this addin http://www.addintools.com/english/menuoffice/
0
 
LVL 84
Comment Utility
Yeah, that's a popular addon. I used it myself at first, but once I "got my head around" the ribbons I have no trouble with them.
0
 

Author Comment

by:okamon
Comment Utility
is there any open source addon like this?
0
 
LVL 65

Expert Comment

by:rockiroads
Comment Utility
for excel, word and ppt there is a free version (not open source) but doesn't cover msaccess. I assume you want an msaccess one.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now