It's important to understand that any time an Access client disconnects unexpectedly, it may set a "corruption flag" in the .mdb file indicating that the database is in a corrupt state (regardless of whether any data has actually been corrupted or not). Any user who attempts to open the database while this flag is set will receive a message, and the database will have to be repaired before it can be used. If the users don't have permission to perform the repair, or don't know how to perform the repair, there may be significant downtime before the database is available again. This can result in a loss of productivity as well as extreme frustration for the users. Following the 5 tips below will minimize your odds of data loss from corruption in your Access databases.
1) Split your database.
The single most important thing you can do to prevent corruption in MS Access databases is to split the database into a "front-end" and a "back-end". The front-end contains all of the forms, queries, and reports, while the back-end contains only the data tables. A copy of the front-end is placed on each user's computer, and the back-end with the table data is stored in a shared folder on the network. How does this prevent corruption? Well, consider the amount of information that must make it across your network to your computer each time you open a form or report. If one bit of that information doesn't make it intact, you risk corrupting your database. Alternatively, if the forms, queries and reports are all stored on your local computer, then the only bit of information that needs to traverse the network is the actual table data. By reducing the amount of data you need to move back and forth across the network, you significantly reduce the chances of corrupting your database. If you're having corruption problems with an Access database on a network drive, splitting the database is the single most important thing you can do to stop it.
2) Don't hold connections open.
This one applies to both programmers and users. If you're a programmer, make sure you close your connections as soon as possible after using them. Leaving the connections open will allow more opportunities for an "unexpected" dropped connection. The only time you may want to leave a connection open longer than required would when it's used inside a loop. For such a case, open the connection at the beginning of the loop, and then close it after the loop is completed. Just make sure it gets closed for all cases (including exceptions).
If you're using a Microsoft Access database or application, be sure to close it when you're finished. Again, leaving the application open provides the opportunity for corruption if a network connection is lost. Remind users to always close the application before going home, as nightly backup jobs may fail or cause corruption in the shared file if there are open connections.
3) Exit the database correctly.
Always close the database or application correctly. Ctrl-Alt-Delete/End Task can wreak havoc on Access databases. Whenever possible, complete your tasks, then close the application using the File - Exit menu option or alternative Exit option provided by the application.
4) Don't skimp on hardware.
Remember that the corruption flag can be set from the slightest packet loss between your computer and the database file. MS Access has sometimes been called "the canary in the coal mine". It has gained this reputation from being the first application to "die" when there's the slightest hint of trouble on your network. Just like the slightest presence of gas caused the canary to die, the slightest presence of network problems and packet loss can kill your Access applications. Make sure you're not using the cheap built-in NICs that come with some PCs. Instead, use brand name network cards. The same goes for cheap hubs. Whenever possible, match good brands of equipment throughout your network.
5) Compact and repair regularly.
Performing the built-in compact and repair function regularly is recommended to prevent corruption and improve performance. Consider automating this function with a utility to compact and repair all of your databases nightly or during the weekend.
Error messages to look out for - the following error messages may signal database corruption:
"The database 'databasename.mdb' needs to be repaired or isn't a Microsoft Access database file."
"Record(s) can't be read, no read permissions on 'databasename.mdb'"
"Unexpected Error 35012"
"Unrecognized database format 'databasename.mdb'."
"'databasename.mdb' isn't an index in this table. Look in the Indexes collection of the TableDef object to determine the valid index names."
"The Microsoft Jet database engine could not find the object 'databases'. Make sure the object exists and that you spell its name and path name correctly."
"The database has been placed in a state by user '' on machine '' that prevents it from being opened or locked"
"Disk Error -- Reserved error (-1601)"
"The database has been placed in an unexpected state."
"Record(s) cannot be read; no read permission on 'MSysObjects'"
"Record(s) cannot be read; no read permission on 'MSysACEs'."
"The Microsoft Jet database engine cannot find the input table or query 'MSysAccessObjects'. Make sure it exists and that its name is spelled correctly."
Conclusion:
While you may never be able to prevent all Microsoft Access database corruption, you should be able to stop 98% of the problems before they occur by following these 5 simple tips. Follow these tips and implement a prudent automated backup schedule to minimize your odds of significant data loss.
Kevin Sparks is a technical writer for Kaizen Software Solutions, the producer of Digital DBA, an automated MS Access monitoring, backup, and compact/repair utility. For more information, visit their website at http://www.kzsoftware.com/products/digitaldba a>
![]() Google News Updated : Fri, 04 Jul 2008 18:53:55 GMT Christina Applegate's Boyfriend Found Dead - FOXNews
FOXNews - AP LOS ANGELES - "Married With Children" star Christina Applegate’s boyfriend was found dead in his apartment on Tuesday, FOX News has learned. Lee Grivas, Christina Applegate's Boyfriend, Found Dead Christina Applegate's sometime boyfriend, Lee Grivas, found dead Publ.Date : Fri, 04 Jul 2008 15:22:05 GMT Flames descend canyons in Santa Barbara Co. fire - San Jose Mercury News
San Jose Mercury News - AP GOLETA - A fast-moving wildfire fueled by Santa Barbara County's notorious "sundowner" winds consumed about a half-dozen outbuildings overnight, but firefighters were able to save hundreds of homes from intense flames in the pre-dawn hours, ... Firefighters hold line on two California wildfires Goleta fire doubles in size overnight Publ.Date : Fri, 04 Jul 2008 18:12:01 GMT Madge Kabbalah'd A-Rod into Submission - TMZ.com
TMZ.com - Madonna is using "mind control" through the power of Kabbalah to mesmerize A-Rod into making him her boytoy, according to friends of his wife. A-Rod's wife tells pals she believes Madonna lured Yank with kabbalah Kabbalah Kool-Aid: Madonna's 'soulmate' to divorce Publ.Date : Fri, 04 Jul 2008 12:49:58 GMT Mosquito disease risk isn’t higher - Milwaukee Journal Sentinel
Milwaukee Journal Sentinel - By JEANNINE AQUINO The swarms of mosquitoes spawned by warm weather and lingering floodwaters in Wisconsin are more blood-sucking nuisance than medical peril, health officials said Thursday. West Nile Spreads Due to Flooding, Threatens 4th of July Celebrations Mosquito district warns: Watch out for West Nile Virus Publ.Date : Fri, 04 Jul 2008 03:43:41 GMT Borowski designated for assignment - MLB.com
MLB.com - By Anthony Castrovince / MLB.com Looking to repair their battered bullpen and get a better read on what the future holds, the Indians designated the veteran Borowski for assignment on Friday. Indians designate RHP Joe Borowski for assignment New closer alert! Borowski out in Cleveland Publ.Date : Fri, 04 Jul 2008 16:59:25 GMT Chance discovery points to crib death cause - Reuters
Reuters - By Michael Kahn LONDON (Reuters) - An imbalance of a key brain chemical could cause crib death, researchers said on Thursday in what they called a chance discovery. SIDS Linked to Brain Chemical Dysfunction Brain imbalance 'cot death key' Publ.Date : Thu, 03 Jul 2008 20:59:03 GMT Obama remarks on Iraq prompts flip-flop charge - CNN
CNN - (CNN) -- Sen. John McCain's campaign again called Sen. Barack Obama a flip-flopper after the Democratic candidate held a do-over news conference to clarify his remarks on the Iraq war. Analysis: Obama's shifts to center give GOP ammo Obama Fuels Pullout Debate With Remarks Publ.Date : Fri, 04 Jul 2008 16:23:39 GMT Earn Money With Surveys |
PARLOT::Ebooks, Scripts,
Websites, and more... The risk analysis and business impact analysis have identified risks... Read More If you aren't prepared in advance, you will most likely... Read More In the first part of this article series, I talked... Read More Right now you probably in a lot of mental pain,... Read More It's 10pm. Do you know where your data is?Data. Small... Read More Statistics show two out of five businesses go out of... Read More Your customer data is a precious resource that can literally... Read More A Tornado? In Birmingham? In The United Kingdom? Unthinkable!Yes, in... Read More As someone who has seen quite a few hard drive... Read More Why should you backup your data on the Internet?There are... Read More It's one thing to loose data and money because of... Read More Oh the perils of collecting those precious photos on your... Read More How long have you been doing business online? Whether you... Read More The best defense against a loss of data is a... Read More Whenever disaster strikes the most critical asset that every company... Read More The following scenario's have probably been repeated thousands of times,... Read More Imagine that you have been working on a file for... Read More ITS ALL IN THE PLANNING - PREPARING FOR THE UNTHINKABLE*... Read More Data recovery is a process whereby you can save data... Read More Helping your business survive in the event of an unforeseen... Read More What to backup, and what to loseThe oldest "computer expression"... Read More There is a common problem that happens with lot of... Read More Like all plans, there is an ultimate goal to achieve.... Read More Software programmers recognize the importance of data files, and thankfully,... Read More June 25, 2005Seagate Technologies' web site now indicates the company... Read More
Adsense
websites
Business Continuity and Disaster Recovery - Selecting A Business Continuity Strategy
Data Recovery The Easy Way
Data Backup Solution: Why You Need a Backup Plan in Place ? Part 2
Data Recovery: Beginners Tips
Data Backup for Beginners
Want To Beat The Odds? Disaster Recovery Planning is Essential
Data Backups ? One Key to Business Survival
When Disaster Strikes: How Long Would Your Business Survive if Files On Your Computer Disappeared?
Is Your Backup Good Enough?
Learn How To Make Data Backup Over The Internet!
9 Things to Look for when Considering Data Backup Solutions
Backup Your Data Or Lose Your Life!
Online Data Backups for Newbies
The Best Data Recovery Choice For You
Disaster Recovery Made Easy With Online Backups
HasYour Computer Hard Drive Ever Crashed? Are You Challenged by Backups?
Computer Data Backup - Data Backup Solution Will Give You A Peace Of Mind
Its All In The Planning - Surviving Disaster
Data Recovery - You Can Get It Back!
Disaster Recovery- Managing the Risk
How to Effectively Back Up Your Data
Did You Loose Your Windows XP Password? What Should You Have Done Before it Happened?
Business Continuity and Disaster Recovery - Reducing Your Risk Profile
Comparing Data Recovery Software
Sea-Front or Action-gate
Viruses, software failures, power failures, human errors, hard drive failures... Read More
Backup on business computers is typically not the user's concern... Read More
Processing DATA is what all businesses do. Protecting data is... Read More
Your worst nightmare just became a horrifying reality. You keep... Read More
Six months ago my computer crashed. When I turned my... Read More
If you have spent the time to increase your computer's... Read More
All computers and their components are subject to failure. In... Read More
With Adware, SpyWare, E-Mail Viruses, Java Script Viruses and Hardware... Read More
The following scenario's have probably been repeated thousands of times,... Read More
Right now you probably in a lot of mental pain,... Read More
Our computers have become almost indispensable ministry tools. What would... Read More
The best defense against a loss of data is a... Read More
Software programmers recognize the importance of data files, and thankfully,... Read More
In today's high paced digital world there is a very... Read More
It is not rocket science, we all know that we... Read More
Bill gates provided a ready made option in Microsoft windows,... Read More
There was a time - not too long ago -... Read More
If you aren't prepared in advance, you will most likely... Read More
Vision Backup http://www.deprice.com/visionbackupenterprise.htmVision Backup 10 Enterprise is an advanced and... Read More
Statistics show two out of five businesses go out of... Read More
Data recovery is a process whereby you can save data... Read More
There is a common problem that happens with lot of... Read More
Spyware elimination software is designed to detect and eliminate spyware.... Read More
It might be more fun to talk about those free... Read More
A Tornado? In Birmingham? In The United Kingdom? Unthinkable!Yes, in... Read More
Data Recovery & Computer Backup |