Solved

Error 3051 with Access 2000

Posted on 2006-07-07
11
458 Views
Last Modified: 2008-02-01
I have a Vb application using access 2000 that worked well before using version 97. Now I am geyting this error: Run-time Error 3051, for the sixth user that conect to the net. The first five work well, but the sixth recieve this message error. I am using windows 2000 profression.
I'm using DAO 3.6 ... and the sentence that i use to open de database is "Opendatabase(base,false,false), i don't send user or passwer at all.

Thx.

Eduardo Castillo A.

0
Comment
Question by:ecastillo090698
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 54

Expert Comment

by:nico5038
ID: 17062080
Are you sure that the user has read/write access to the folder with the database and that there's no user with exclusive access ?

Nic;o)
0
 
LVL 25

Expert Comment

by:jrb1
ID: 17062082
http://www.experts-exchange.com/Databases/MS_Access/Q_21079777.html

usually this error is indicative of attempts to open a database exclusively that is already under the control of another user.

Permissions for the folder in which the database exist MUST be set to FULL Privileges.  Read access is not sufficient
0
 

Author Comment

by:ecastillo090698
ID: 17062209
I have tried changing the users and computers, and it is not important that user is or if pc is, the sixth one always falls down for this error (3051).

The users enter to the Operative system with the only account, with sufficient permissions.

In the VB application the call to open the DB not mention user's name not password. The curious thing is that it falls down always in the sixth connection.
0
 
LVL 25

Expert Comment

by:jrb1
ID: 17062232
Are you sure they have full access to the DIRECTORY and the FILE?
0
 

Author Comment

by:ecastillo090698
ID: 17062291
Yes, because as I said previously, they enter with one only account ... and the five first ones in connecting can use allways the DB without problems.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 54

Expert Comment

by:nico5038
ID: 17062304
Hmm, Access can deal with a max of 255 users (don't recommend that, but theoretically is't possible), thus the sixth can't be the problem.
Looks however that one user does get exclusive access rights. When someone would be updating the database this error will also occur, is your code somewhere updating forms, reports or modules?

Nic;o)
0
 

Author Comment

by:ecastillo090698
ID: 17062401
Well, they all have total rights (they all enter with the same account, if one can access, all should be able). Now the application falls in the sixth user in connecting to the DB, and in the function that tries to open the DB ... the other users are not updating in that moment.

I was thinking that has something that to see with Access's capacities 2000 of groups and own(proper) users to create ... but I not as(like) sending this additional information from VB DAO (Opendatabase).
0
 
LVL 26

Expert Comment

by:jerryb30
ID: 17063307
Sounds like seat issue.  Trying to remember OS which has five-seat limit.  Using NT by chance?  
0
 

Author Comment

by:ecastillo090698
ID: 17067375
The server who has the DB is windows 2000, the stations that connect are XP ... it is strange ... but it is the situation...
0
 
LVL 26

Expert Comment

by:jerryb30
ID: 17067689
W2k professional?
0
 
LVL 26

Accepted Solution

by:
jerryb30 earned 250 total points
ID: 17067722
OK, I read your question, and you indeed have W2K Pro.  I recall when we first went to W2k, we had to go to W2K Server when more than 5 users were accessing databases for review.  Not sure why things worked in Access 97 app and not in Access 2000. ....
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
view mode vs edit mode 17 47
Data type mismatch in criteria expression 2 25
Access query with left expression 9 30
Syntax Error in Query 7 30
This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

932 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

11 Experts available now in Live!

Get 1:1 Help Now