473,786 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Corruption - how to MAKE it happen?

I am in a friendly debate with some co-workers... and my boss.

We use Access 2003 for the frontend (on workstations) as well as for
the backend (on a Dell PowerEdge running Windows 2000 server, SP4).
We have approx. 20 users *logged in* at any one time (over 300
userid's exist), but we have never run metrics to see how many on
average are accessing the database concurrently.

About once every few weeks, the database mysteriously becomes
corrupted.

One thing that seems pretty reliable is if my co-worker or I are in
design mode of a table and manually edit a record while someone else
is editing the same record via the frontend.

In addition, I thought that if I abnormally exited the program (CTRL-
ALT-DEL and kill the process while the program is loading, etc.), that
there would be a very good chance of corrupting the DB. Especially
(only?) if you killed it while it was accessing a record, before it
closed a recordset, etc.

Can anyone shed any light here? I have found several references
throughout this newsgroup, and even a Corruption FAQ:

http://www.granite.ab.ca/access/corruptmdbs.htm

but I would really like to know if abnormal termination would/should
do it. Random testing so far has been unable to reproduce the desired
corruption. I even tried running the code, setting a breakpoint in
the middle of a record operation, then CTRL-ALT-DELing the process.
No corruption.

Help?

Thanks.

Mar 22 '07
42 2127
"Doug" <sp*******@gmai l.comwrote
Another part of the problem is that the
application is used 24x7x365, so to
compact/repair, I need to kick users
out of the system.
I think you would be hard-pressed to find a recommendation from the product
team or any MVP that Access is suitable for a 24x7x365 (certainly falls in
the category of "mission critical") application -- file-server databases
weren't designed for that, weren't intended for it, and aren't good in that
role.

Most of us are strong believers in "appropriat e technology" and neither
Access nor Jet are "appropriat e technology" for that kind of application.

Larry Linson
Microsoft Access MVP
Mar 26 '07 #21
Per Larry Linson:
neither
Access nor Jet are "appropriat e technology" for that kind of application.
Would that caveat extend to MS Access as a front end to an SQL Server DB - or is
it just for the back end?
--
PeteCresswell
Mar 27 '07 #22
"(PeteCresswell )" <x@y.Invalidwro te
>neither Access nor Jet are "appropriat e technology"
for that kind of application.

Would that caveat extend to MS Access as a front end
to an SQL Server DB - or is it just for the back end?
Access should be just fine as a _client_ to SQL Server or other server DB,
provided the Access client is carefully designed so that it can just be
replaced in case of bloat or corruption. Executing certain Queries can
cause bloat, as well as what we think of as "normal" causes of bloat --
deleting Records or objects from the Access DB.

If the Access client will ever need to be compacted or repaired, it would
not be suitable -- and some people do try to keep user-specific data in the
Access client. Compacting and repairing means that it will be "off-line" for
some period, and that is not consistent with 24/7/365 operation. If there is
user-specific data, then another database with linked tables, on the local
machine or LAN, should be used rather than storing the user-specific data in
the front-end/client.

24/7/365 is a demanding requirement; in a previous incarnation as a
mainframer, such systems were often duplicated and switched to the backup
machine/system when maintenance (software or hardware) was required on the
production machine. Similar things are done with clusters of servers and
banks of drives, these days.

Larry Linson
Microsoft Access MVP
Mar 27 '07 #23
"Larry Linson" <bo*****@localh ost.notwrote in
news:a%XNh.2870 $yo3.1181@trndd c04:
Most of us are strong believers in "appropriat e technology" and
neither Access nor Jet are "appropriat e technology" for that kind
of application.
Access is a perfectly appropriate technology for building a front
end for that kind of application. Why would you suggest otherwise?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 27 '07 #24
"Larry Linson" <bo*****@localh ost.notwrote in
news:Qj_Nh.6444 $vI1.709@trnddc 02:
If the Access client will ever need to be compacted or repaired,
it would not be suitable -- and some people do try to keep
user-specific data in the Access client. Compacting and repairing
means that it will be "off-line" for some period, and that is not
consistent with 24/7/365 operation. If there is user-specific
data, then another database with linked tables, on the local
machine or LAN, should be used rather than storing the
user-specific data in the front-end/client.
I strongly doubt that the 24/7 requirement applies to the client.

And any front end that is storing data that is not static is
wrongly-designed.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 27 '07 #25
I have used MS Access as a client with various database servers as the
backend, such as SQL Server and Oracle. The designs have been
successful with both linked tables and just using ADO for all the
heavy lifting. I have to say that I prefer SQL Server to Oracle though
- but thats a personal taste thing.

The only thing that I suppose I found to be a rule with this type of
thing, as it is with all dveleopment, is to make sure that the code is
robust and reliable, and that the forms are user friendly. The goal in
my case is always to facilitate workflow processes and to make the
users lives easier. A lot of the time is designing, as I have found,
goes into understanding the workflow and the expectations of the
users. Long load times? - then change the way the application appears
to load. Long query wait times? - perhaps some sort of pre-aggregated
tables to speed things up. And so on.... There are lots of different
problems and lots of different solutions. One of the reasons I love
this newsgroup :-)

Cheers

The Frog

Mar 27 '07 #26
We are re-writing the application with a dotNET front end and a SQL
Server back end.

I am just trying to test my hypothesis about the MDB corruption.

Thanks for all the input.

Apr 3 '07 #27
"Doug" <sp*******@gmai l.comwrote:
>We are re-writing the application with a dotNET front end and a SQL
Server back end.
Good luck. Hope you have a nice sized budget. Any estimate on how much longer the
same app will take in .NET?

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Apr 4 '07 #28
Per Doug:
>We are re-writing the application with a dotNET front end and a SQL
Server back end.
Do you have good numbers on how much it cost to write the original app?

If so, it would be nice tb able to compare the new version's cost once it's
done.
--
PeteCresswell
Apr 4 '07 #29
MDB is not reliable enough for a single-user application

lose the training wheels; you MDB kids are con artists
-Susie
On Mar 26, 6:26 pm, "David W. Fenton" <XXXuse...@dfen ton.com.invalid >
wrote:
"Larry Linson" <boun...@localh ost.notwrote innews:a%XNh.28 70$yo3.1181@trn ddc04:
Most of us are strong believers in "appropriat e technology" and
neither Access nor Jet are "appropriat e technology" for that kind
of application.

Access is a perfectly appropriate technology for building a front
end for that kind of application. Why would you suggest otherwise?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Apr 5 '07 #30

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

Similar topics

10
1938
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble here. Conversion seems OK and I start the app. BUT . . . Mainform doesn't work. Form comes up but none of the buttons react. Why not? I go to design view and see that code is not compiled. (compile-option is active) So I compile and go to normal...
19
2736
by: Mark C. | last post by:
The company I work for has been running Access 2000 on a Windows NT server with Opportunistic Locking turned off on the server without issue for almost a year. We have just switched to a Windows 2000 file server with service pack 3 installed and are now experiencing at least 2 corruptions a day. The registry setting for Opportunistic Locking that was on the Windows NT server does not exist on the Windows 2000 server so we can not make the...
5
2117
by: Upendra Agnihotram | last post by:
Hi, I am having Client-Server Access application. The source db resides on WinNT Server and some of the client systems are on Windows 2000 Professional. These days i am experiencing frequent corruption of the source database (nearly 3 to 4 times a day) which is on NT Machine?. Please let me know if there is any solution for this --Upendra Software Support Engineer
7
1919
by: Doug Vogel | last post by:
Hi All - I have a client for whom I developed an Access 2000 database. The database is split into 2 files - front-end (forms, queries, reports), and back-end (tables). An .mde file has been made for the front end file. Recently, they have been noticing some "problems" with the system. Basically this system creates invoices for their customers. They have been noticing that some of the invoices are now "wrong", specifically
47
4545
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small company and this is a big decision for us(!) It's not just the money it's committing to an new version of Access!
2
2637
by: Robert Oschler | last post by:
Need help with HEAP CORRUPTION and my MSVC 6 DLL I have a MSVC 6 DLL that I've written. It is used heavily by a Delphi 6 app I've written. For two months everything has been working fine. Then I changed some things in the code recently, and now I'm getting what looks like severe corruption of the heap. I am wondering if it is some strange interaction between the Delphi app and
8
3414
by: ranjeet.gupta | last post by:
Dear All Is the Root Cause of the Memory corruption is the Memory leak, ?? suppose If in the code there is Memory leak, Do this may lead to the Memory Corruption while executing the program ? In nut shell, what is/are the realtion/s between the Memory Leak and Memory Corruption. Juts Theoritical Assumtion below:
14
3367
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using VS2005 and .net 2.0. I'm creating an application that has 3 forms. I want allow users to move forward and backward with the forms and retain the data users have entered. I thought I'll make the inactive forms invisible but this is creating a memory corruption problem when user close the form2 or form3 and not the formMain. My main form has a Next button which makes the main form invisible and starts a new form which I'll...
8
1632
by: Slez via AccessMonster.com | last post by:
I have read many resources regarding corruption, and implemented as much as possible to prevent it, but I have one user that encounders corruption of their front end database, when no-one else does. Is there something on this users station that could cause this? I'm just fishing for any ideas on possible causes, so any suggestions / tips are appreciated! -- Message posted via AccessMonster.com...
0
9647
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
9491
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
10357
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...
1
10104
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
9959
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
7510
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
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
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
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.