Solved

MDB's with Visual Basic

Posted on 1998-12-18
6
412 Views
Last Modified: 2013-12-25
I am running an app over a 2 computer network; when the client computer runs the app over a mapped drive I get the following:
"Run-time error '3051'; The microsoft Jet database engine cannot open the file (drive\folder\mdb).  It is already opened exclusively by another user, or you need permission to view its data."  
The app is not running, the mdb is not open, and there are no permissions on the mdb.  Help?
0
Comment
Question by:ZenMaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:mukvij
ID: 1498395
I did same thing with my setup and it worked for me. This error generally comes when MDB file if open in design mode. double check that. Also check permissions on disk share for your login. Does that help.
0
 
LVL 1

Author Comment

by:ZenMaster
ID: 1498396
MDB is not open in design mode; I using W95 for my mini-network; there are no permissions on the shares.
0
 
LVL 3

Expert Comment

by:jjmartin
ID: 1498397
This is a stumper, generally you get a message like that when the DB is open.  How are you accessing this MDB?  Are you opening it through code, or using a data control.  Perhaps you are inadvertantly trying to open the DB twice somewhere in the code?

Also, does this problem only accur when accessing the DB over the network. Try pointing to a duplicate DB on your local drive just to see if you get the same error.  Then we can rule out any network problems.
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 2

Accepted Solution

by:
majed100598 earned 200 total points
ID: 1498398
I thing the problem is with user permission when you make a map drive , try to check the user privellages
0
 
LVL 1

Author Comment

by:ZenMaster
ID: 1498399
I need a clarification from majed:  I am using W95 in a peer-to-peer type system, I don't believe there are permissions on such connections outside of the read-only or full rights options on the shares.  I know these are set to full access.  Is there something I am missing?
0
 
LVL 1

Author Comment

by:ZenMaster
ID: 1498400
It's kind of embarassing to admit, but the user got in and changed the share on the drive on the 'server'; changed that and the problem was fixed.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

734 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