473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problem with DAO in VisualStudio .net

Axel
I don't know how many users you have when you say "many".
About a year ago, I started development of a major app
that would host 40-50 users, using an Access mdb, with
ADO.NET. Before I passed 5 users, I was get corruption
more than once per day. I switched to SQL Server to get
around the problem. Access is a great desktop database,
but I seriously doubt that you are going to be able to
sustain "many" users doing updates without incurring
corruption and "Admin machine locks...."

Others may not agree with me, but I've been working with
it for years and never had much luck with more than 4-5
users doing updates simultaneously.

You can try building your own record locking system into a
table in the database. This tends to funnel users (slow
down the number of simultaneous users attempting to
update). That is an option that cuts down on the "Admin
Machine" locks and obviously will reduce corruption.
Access is single thread and throwing too many updates at
the same time tends to cause problems.

Wish I had a better suggestion, but the Access engine was
never designed to be industrial strength client server
database, in my humble opinion. Again, it is very user
friendly and easy to use from a programmer and maintenance
standpoint, but the uptime under heavy use is a problem.

Les Smith
See Add-ins, books, NetCommander at HHISOFTWARE.com
KNOWDOTNET.COM coming soon.
-----Original Message-----
Hi,
I wrote a program in C++. That program writes Data
to ACCESS 2000 Database with DAO 6.0 from many
Client-Workstations to one Server-Workstation, which
had the called database. Writing to the database
generates multiple times in a day a broken database.
Which must be repaired.

What can I do to find out what is the reason for this
problem ?

Best regards

Axel Lanser
.

Jul 21 '05 #1
0 1007

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

Similar topics

1
by: Rafael Campana | last post by:
Hi, I posted the messsage below last week, but no replies, I've reproduced the problem with a VB macro, just create one and paste the following code. Let me know of any workarounds you can...
2
by: Danny Springer | last post by:
I am trying to create the following xml file with VS 2005: <?xml version='1.0' encoding='utf-8'?> <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings"...
3
by: Doug | last post by:
I'm having problems w/ the VS2005 debugger with C#. It blows past any breakpoints in even the simplest "Hello World" console application. I can't do any step-by-step debugging. I've provided the...
5
by: Alan T | last post by:
I got this kind of error recently: When I tried to open a form I got error something like this: One of more errors encountered while loading the designer. The errors are listed below. Some...
2
by: nmsreddi | last post by:
Hello I am using visualstudio 2005 ,i have done many windows applications using c# but new to website creation ,as per my knowledge i think there is no need of iis for running websites done in...
5
by: Tym | last post by:
Not sure this is the right group - but here goes. I kinda expect Dick Grier to jump in on this one ;-) I've got a windows app in VB.Net 2005 which sends and receives text messages via a USM...
2
by: teixeira1985 | last post by:
Hi , Due an unknown cause VS2005 started to show an error when i switch from code to design in windows forms projects. I repaired the installation but the same happens. The error is: One or...
1
by: wizmagister | last post by:
Hi everyone, I've just installed VisualStudio 2008 on my dev PC. I use this PC to compile a program that uses MapPointControl.ocx. I've compile a new version of my program using VS 2005 after...
1
by: mazdotnet | last post by:
Hi guys, On my work computer I had VisualStudio 2005, AJAX 1.0 and AJAX toolkit installed. 2 days ago I installed VisualStudio 2008 and every AJAX test that I do (IIS), does a postback. When I...
0
by: Bieniu | last post by:
I have DataList control on my own contro land it is bind to SqlDataSource control. My problem is that DataList is getting needed data twice what is for me very strange. I have some code in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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...

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.