473,624 Members | 2,543 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb6 Access database - too many user

Hi

I have a VB 6 application, use MS Access and OS is XP home. Another 3
computers which using XP home connect to it. At the beginning the
application running is fine, but few hours later a error message come
out "Too many active users". Any body know why this error message come
out and how to solve it. Below is more information

Computer A - store MS Access database and OS is XP home, using VB
application form A refresh every 5 sec.
Computer B - Using computer A database and OS is XP home, using VB
application form B refresh every 5 sec.
Computer C - Using computer A database and OS is XP home, using VB
application form C refresh every 5 sec.
Computer D - Using computer A database and OS is XP home, using VB
application form D refresh every 3 sec.

I like to know the problem is the Network? or the Database? or the
Application? or OS?

Please help and thanks in advance.
Michael

Mar 25 '07 #1
4 3387
On 24 Mar 2007 20:22:07 -0700, cy*********@gma il.com wrote:

The application.
Certainly 3 is not too many, but if your app is allocating resources
and not releasing them, over time you'll run out of them.

-Tom.

>Hi

I have a VB 6 application, use MS Access and OS is XP home. Another 3
computers which using XP home connect to it. At the beginning the
application running is fine, but few hours later a error message come
out "Too many active users". Any body know why this error message come
out and how to solve it. Below is more information

Computer A - store MS Access database and OS is XP home, using VB
application form A refresh every 5 sec.
Computer B - Using computer A database and OS is XP home, using VB
application form B refresh every 5 sec.
Computer C - Using computer A database and OS is XP home, using VB
application form C refresh every 5 sec.
Computer D - Using computer A database and OS is XP home, using VB
application form D refresh every 3 sec.

I like to know the problem is the Network? or the Database? or the
Application? or OS?

Please help and thanks in advance.
Michael
Mar 25 '07 #2
On Mar 25, 12:26 am, Tom van Stiphout <no.spam.tom7.. .@cox.netwrote:
On 24 Mar 2007 20:22:07 -0700, cymichae...@gma il.com wrote:

The application.
Certainly 3 is not too many, but if your app is allocating resources
and not releasing them, over time you'll run out of them.

-Tom.
Thanks Tom

you said " allocating resources and not releasing them", do you means
I need to close the recordset? I have close the recordset and database
after use.

rs.close
set rs=nothing
db.close
set db=nothing

But on the .ldb file, I saw computer 1, 2, 3, 4 not only show one
time, its show many times. do you know why?

Michael

Mar 25 '07 #3
cy*********@gma il.com wrote in
news:11******** **************@ n76g2000hsh.goo glegroups.com:
But on the .ldb file, I saw computer 1, 2, 3, 4 not only show one
time, its show many times. do you know why?
You must be opening multiple connections. Access does this silently
sometimes, but I've never seen more than two at a time from any
workstation. I would think that you'd have to manage all of this
manually when using VB, as I assume Access itself manages
connections because it understands Jet by definition.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 25 '07 #4
On 24 Mar 2007 21:34:55 -0700, cy*********@gma il.com wrote:

That's where your debugging needs to start. I bet you early on you
only see 4 users, and gradually that number increases.
Find the code that does that, and fix it.

-Tom.

<clip>>
>But on the .ldb file, I saw computer 1, 2, 3, 4 not only show one
time, its show many times. do you know why?

Michael
Mar 25 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3302
by: BigDaDDY | last post by:
Um yeah....In case you haven't figured it out, Microsoft sucks. I'm going to be kicked back in my chair eating popcorn and watching football 10 years from now, while all you clowns are scrambling to rewrite all your code because Microsoft upgraded all their crap and nothing you wrote 10 years earlier works. It doesn't take a rocket scientist to figure out that Microsoft is unreliable. Try opening an Excel 95 spreadsheet you wrote in...
49
14319
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. I'm wondering what are the disadvantages of using Access as front-end? Other that it's not...
11
17036
by: Rosco | last post by:
Does anyone have a good URL or info whre Oracle and Access are compared to one another in performance, security, cost etc. Before you jump on me I know Oracle is a Cadillac compared to Access the Ford Fairlane. I need this info to complete a school project. Thanks.
22
7562
by: alecjames1 | last post by:
I have a form which the user must complete before closing. I have disabled the window x button and use my own exit button. When selected it checks to see if the user has completed the entries otherwise it cancels the close. However, the user can still right click on the task bar and close my application. Is there any way of preventing this. Thanks Alex
2
8340
by: James | last post by:
Dear Access Guru's, Hopefully you can help me (as Microsoft don't seem to be able to) We have an Access database on a Windows 2003 server with 5 CALS in our office. Access is loaded onto the server. We have 2 PC's connected to it on the LAN
17
2480
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a thousand items and the accounting side will be used for hopefully many years so the entries are likely to be vast. The delema is what is best to use ase the DB engine, Access I have as part of Office 2002 or should I really be looking at SQL...
15
4591
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
17
4403
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
37
5210
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why would you even continue to use Access as a backend when you have a much superior option in SQL express? What about as a future front-end development tool? Let's get serious. Microsoft continues to publish numerous articles and videos on how you...
10
3353
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Not sure if I quite follow that. 1. Data encrypted by AES key 2. AES key encrypted with Asymmetric public key (?)
0
8249
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8179
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8633
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8348
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1797
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.