473,387 Members | 1,650 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,387 software developers and data experts.

Microsoft Access corruption compact and repair

I have an Access database that needs to be compacted and repaired
almost on a daily basis. It is the front end that needs to be fixed, so
other users cannot get into it when the problem happens. This is
driving me nuts and needs to be resolved.

The database was originally created in 97 and converted to 2002-2003
format. It is split into front-end and back-end. The it is placed in a
network share for multiple user access. There are only about 25 users
that use the db and on average 10 concurrent. I have rebuilt the db by
creating a blank 2002-2003 db and imported the objects. I have disabled
the "AutoCorrect". Open mode is shared. Record locking is "Edited
Record" and "Open databases using record-level locking" is enabled
(checked). I have compiled the code, then "compact/repaired", then
created an mde file.

Is there anything you can tell be that would stop this corruption
problem?

Nov 13 '05 #1
5 2488
Do each of the 25 have a front end on their local machine?
Linked to the back end which is in this network share location?

--

"mr_mach7" <mr******@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have an Access database that needs to be compacted and repaired
almost on a daily basis. It is the front end that needs to be fixed, so
other users cannot get into it when the problem happens. This is
driving me nuts and needs to be resolved.

The database was originally created in 97 and converted to 2002-2003
format. It is split into front-end and back-end. The it is placed in a
network share for multiple user access. There are only about 25 users
that use the db and on average 10 concurrent. I have rebuilt the db by
creating a blank 2002-2003 db and imported the objects. I have disabled
the "AutoCorrect". Open mode is shared. Record locking is "Edited
Record" and "Open databases using record-level locking" is enabled
(checked). I have compiled the code, then "compact/repaired", then
created an mde file.

Is there anything you can tell be that would stop this corruption
problem?

Nov 13 '05 #2
Firstly, make sure that each user has their own copy of the front end. Do
not allow multiple users to open the same file.

Secondly, there is a bug in A2002 and 2003 that causes Access to crash where
you use subforms. It seems that if the LinkChildFields is an AccessField,
Access can intermittently crash. To stop this, open the subform in design
view, and add a text box to the subform for the foreign key field named in
LinkChildFields.

After that, perform a decompile by entering something like this at the
command prompt while Access is not running. It is all one line, and include
the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

For further suggestions on preventing corruption, see:
http://allenbrowne.com/ser-25.html
There are several important points there, including making sure that every
user has the same version of msjet40.dll, and not editing running code.

--
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.

"mr_mach7" <mr******@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have an Access database that needs to be compacted and repaired
almost on a daily basis. It is the front end that needs to be fixed, so
other users cannot get into it when the problem happens. This is
driving me nuts and needs to be resolved.

The database was originally created in 97 and converted to 2002-2003
format. It is split into front-end and back-end. The it is placed in a
network share for multiple user access. There are only about 25 users
that use the db and on average 10 concurrent. I have rebuilt the db by
creating a blank 2002-2003 db and imported the objects. I have disabled
the "AutoCorrect". Open mode is shared. Record locking is "Edited
Record" and "Open databases using record-level locking" is enabled
(checked). I have compiled the code, then "compact/repaired", then
created an mde file.

Is there anything you can tell be that would stop this corruption
problem?

Nov 13 '05 #3
First off, the front-end is on the network and all users are hitting
the same file. It is not feasable to place the front-end on each
user's pc.

Secondly, Allen, I did come across an earlier posting of yours and
performed all the tips you suggested, included the ideas you posted
here. However, I am still having the problem.

Nov 13 '05 #4
Putting all the users into a single file defeats the purpose.

You're on your own if you take that approach.

--
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.

"mr_mach7" <mr******@yahoo.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
First off, the front-end is on the network and all users are hitting
the same file. It is not feasable to place the front-end on each
user's pc.

Secondly, Allen, I did come across an earlier posting of yours and
performed all the tips you suggested, included the ideas you posted
here. However, I am still having the problem.

Nov 13 '05 #5
"mr_mach7" <mr******@yahoo.com> wrote in
news:11*********************@o13g2000cwo.googlegro ups.com:
First off, the front-end is on the network and all users are
hitting the same file. It is not feasable to place the front-end
on each user's pc.


Then it is not possible for you to solve the problem.

Period.

End of statement.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6

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

Similar topics

13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages...
1
by: PamelaDV | last post by:
I am running into big problems with my Access 97 databases. I have one database in particular that needs to be repaired and compacted several times a day. I have problems when doing a repair and...
28
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during...
14
by: JK Peck | last post by:
I have a fairly large Access application that ran correctly in Access 2000. After upgrading to Access 2003 (and recompiling and updating references), it reliably crashes at a certain point. If I...
7
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...
4
by: DFS | last post by:
" has detected corruption in this file. To try to repair the corruption, first make a backup copy of the file. Then, on the Tools menu, point to Database Utilities and click Compact and Repair...
16
by: Rob Geraghty | last post by:
I've just spent some time looking through FAQ sites and searching the google archives of this newsgroup, but I still haven't been able to find a clear explanation of an issue with multi-user...
17
by: Jana | last post by:
Howdy! I have an Access 2003 SP1 where data tables reside on a server & each workstation runs the front end locally. All 5 users are on the same version of Access. We've been having problems on...
2
by: Mikal via AccessMonster.com | last post by:
Good Afternoon, I have an A2K backend database which suffers fairly frequent corruption (yes, I do make frequent backups). If I open it in Access 2000 and compact and repair it the file is...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.