473,398 Members | 2,404 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,398 software developers and data experts.

Repair database

Hi,
We have not a smallest access database (30 tables, 160 queries,35
forms,40 reports,15 pages) with some links to other databases and some
sql queries from other databases.The databse is not using many
advanced features and there are only about 15 simple macros.

Recently we have a problem with a need to repair database (2 -4 times
a week).
What is even more alarming is that 2 times happend that even after
repair we could not use buttons for forms openning and then we could
not open even forms directly.We had to use backup.

We are quite dependend on this database.

Does anybody know how we should proceed to find out what might be
wrong with the database.I heard something about network speed problem
which might cause it but I don't think it is in our case.

Regards,

Oskar
Nov 12 '05 #1
7 1942
Is the database split into two mdb files: one containing only the tables
(the back end, on a shared resource), and the other with all the queries,
forms, reports, etc, and linked tables? Does each user have their own local
copy of the front end?

Are objects (forms, reports, ...) being created/modified/deleted, and the
code changed?

If a split database is corrupting when no object changes are taking place,
there is a problem with the connection to the data. Either the network is
unstable (e.g. bad network card, bad connection, bad hub, or using an
inherently unstable technology such as WiFi), or else a user is crashing out
of Access without closing it properly, or else a machine is crashing
(hardware problem), or the power in your area has problems. Access will
corrupt if a write is not completed and the database closed properly. Other
than this, a database that is not being modified will corrupt very rarely if
at all.

If you are still developing the database objects, the database will corrupt
periodically. If other users are attempting to use the same database file
(unsplit) while objects are being modified it will corrupt constantly.

Hope that helps identify the cause and steps to resolve.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Medved" <os*********@sca.com> wrote in message
news:6b**************************@posting.google.c om...

We have not a smallest access database (30 tables, 160 queries,35
forms,40 reports,15 pages) with some links to other databases and some
sql queries from other databases.The databse is not using many
advanced features and there are only about 15 simple macros.

Recently we have a problem with a need to repair database (2 -4 times
a week).
What is even more alarming is that 2 times happend that even after
repair we could not use buttons for forms openning and then we could
not open even forms directly.We had to use backup.

We are quite dependend on this database.

Does anybody know how we should proceed to find out what might be
wrong with the database.I heard something about network speed problem
which might cause it but I don't think it is in our case.

Regards,

Oskar

Nov 12 '05 #2

Hello Allen,
thank you for taking care for our problem.

As for your questions ,it is the only 1 database (I did not split it to
tables and other stuff).However,partially I have don this for couple of
tables and forms (some people work only with this separate database).
Databases are on the server -and they are accessed from local computers.

Objects are being modified quite a lot and it happened to me that I have
tried to go to design view while someone else was working and vice
versa.In a past we have had some closing problems as well.

However,people take care for the closing in last 2 weeks and also we
take care for working in design.Furthermore network and HW problems are
definitely not the case.

What is confusing to me is the fact that it happened that database
corrupted also in a time when nothing really "dangerous"
(design,closing,network etc.)was happening.

So I am still a bit uncertain about the cause.Our IT specialist suggest
that it must be something else than what we are mentioning here.

Kind regards,

Oskar

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
Definately worth ensuring that you have the latest service pack for your
version of Office from support.microsoft.com.

If you are using Access 2000 and later, you could also turn off Name
AutoCorrect, as this can be a source of corruption:
http://allenbrowne.com/bug-03.html

However, I strongly recommend that you split the database, and give everyone
their own front end. It can be in their own workspace on the server if you
do not want the job of updating them on the individual machines. You can
continue to develop the front end with your own local copy. It will corrupt
periodically, and you can repair or restore as necessary while everyone else
keeps working. Once you have an update that you are ready to distribute,
copy it to their workspace. Splitting is essential.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"oskar hritz" <os*********@sca.com> wrote in message
news:40***********************@news.frii.net...

Hello Allen,
thank you for taking care for our problem.

As for your questions ,it is the only 1 database (I did not split it to
tables and other stuff).However,partially I have don this for couple of
tables and forms (some people work only with this separate database).
Databases are on the server -and they are accessed from local computers.

Objects are being modified quite a lot and it happened to me that I have
tried to go to design view while someone else was working and vice
versa.In a past we have had some closing problems as well.

However,people take care for the closing in last 2 weeks and also we
take care for working in design.Furthermore network and HW problems are
definitely not the case.

What is confusing to me is the fact that it happened that database
corrupted also in a time when nothing really "dangerous"
(design,closing,network etc.)was happening.

So I am still a bit uncertain about the cause.Our IT specialist suggest
that it must be something else than what we are mentioning here.

Kind regards,

Oskar

Nov 12 '05 #4
os*********@sca.com (Medved) wrote:
We have not a smallest access database (30 tables, 160 queries,35
forms,40 reports,15 pages) with some links to other databases and some
sql queries from other databases.The databse is not using many
advanced features and there are only about 15 simple macros.

Recently we have a problem with a need to repair database (2 -4 times
a week).
What is even more alarming is that 2 times happend that even after
repair we could not use buttons for forms openning and then we could
not open even forms directly.We had to use backup.


I would agree with Allen. With A2000 and newer you are very vulnerable to
corruptions if you are sharing an MDB containing forms, reports and modules among
users.

For other causes of corruption see the Access Corruption FAQ at my website.

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
Nov 12 '05 #5
Have you tried the solution from Trevor? Lots of times access files
can be fixed by importing everything to a new database. Old "junk"
gets deleted and the objects get refreshed.

Good luck,

Mark van Bree
Nov 12 '05 #6
Thank you for the advise.Now I am 100% sure that I will have to split
the database for the front and back end.
I only regret that I did not do it on the very beginning.
Now it will take at least all Saturday.

Oskar
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #7
oskar hritz <os*********@sca.com> wrote:
Thank you for the advise.Now I am 100% sure that I will have to split
the database for the front and back end.
I only regret that I did not do it on the very beginning.
Now it will take at least all Saturday.


No, that shouldn't take that long at all. There is a splitting tool of some sort.

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
Nov 12 '05 #8

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

Similar topics

3
by: bbbad_999 | last post by:
I have inherited a poorly administered/maintained database that contains the following error: "I/O error (torn page) detected during read at offset 0x000018ee23e000 in file 'F:\Program...
4
by: Brian | last post by:
Good morning, I have a client with an Access 2002 database that is giving an Error 3197 upon open (The Microsoft Jet database engine stopped the process because you and another user are...
4
by: Frank | last post by:
I have coded a compress/repair routine (VB6) which, upon an open failure of the Access 97 database, will run to attempt a repair before giving up and reporting the error to a user. My problem is -...
3
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
11
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the...
2
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
3
by: Bizmark | last post by:
Access2003, Windows XP Pro OEM user OS, Windows Sever 2000 server OS. Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
4
by: zufie | last post by:
When I Repair/Compact my Access databse. I get icons/copies of a database named db1.mdb, db2.mdb, db3.mdb, etc... How else may I repair this database? Thanks!, Zuf
5
by: teddysnips | last post by:
My client has asked if it's possible to Compact and Repair his Front End database programmatically. I remember doing this from a VB application about 10 years ago, so I wondered if it was possible...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
0
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...

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.