Solved

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

Posted on 2010-09-12
12
657 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
ID: 33657862
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
ID: 33657869
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
ID: 33657873
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:okamon
ID: 33658198
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
ID: 33658262
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
ID: 33658427
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
 
LVL 84
ID: 33660866
<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
ID: 33774880
thanks. I will try and update soon
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 300 total points
ID: 33775060
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
ID: 33777358
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
ID: 33918147
is there any open source addon like this?
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 33918240
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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