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

Access 2K and a consistant Database Repairing

I have a small application with 2 forms where the user logs into the system,
then the form recordsource randomly pulls up an account ID. The application
is basically an electronic tic sheet and reporting tool. Once the user is
done they select a check box then system appends the record into a completed
record table. There are about 25 users. I have the database split into a
frontend MDE file and the backend is a mdb file.

The users can log in and work in the system just fine, but after a couple of
hours if a user exits the system or someone needs to sign on, a error
message comes saying the file is not a database or the file needs to be
repaired. Once you repair the system, all users can get back in and again
after a couple of hours it will need to be repair again. I also get the
problem if I use a MDB front end.

HELP !!!!!!!! Can ayone point to anything can help eliminate this issue.

Brian
Nov 13 '05 #1
5 1431
Brian,
I have a small application with 2 forms where the user logs into the system,
then the form recordsource randomly pulls up an account ID. The application
is basically an electronic tic sheet and reporting tool. Once the user is
done they select a check box then system appends the record into a completed
record table. There are about 25 users. I have the database split into a
frontend MDE file and the backend is a mdb file.

The users can log in and work in the system just fine, but after a couple of
hours if a user exits the system or someone needs to sign on, a error
message comes saying the file is not a database or the file needs to be
repaired. Once you repair the system, all users can get back in and again
after a couple of hours it will need to be repair again. I also get the
problem if I use a MDB front end.

HELP !!!!!!!! Can ayone point to anything can help eliminate this issue.

You may have a look at Tony Toews Access Corruption FAQ site
http://www.granite.ab.ca/access/corruptmdbs.htm

We have a self help section at our site too
www.atroplan.com/infoe.htm

If you have an Win2000 or WinNt4.0 Server, you should disable
opportunistic locking.
Regards

Thilo Immel
The Access Druid www.atroplan.com
Nov 13 '05 #2
ja******@bellsouth.net (Brian) wrote:
The users can log in and work in the system just fine, but after a couple of
hours if a user exits the system or someone needs to sign on, a error
message comes saying the file is not a database or the file needs to be
repaired. Once you repair the system, all users can get back in and again
after a couple of hours it will need to be repair again.


As Thilo mentions first thing I'd do is check out the OpLocks setting.

But which MDB is getting corrupted? The FE MDE or the BE MDB? You also imply that
your users are sharing the FE MDE. Or at least you haven't stated that each user
gets thier own copy.

You really want to put the FE on each machine or place in a user specific directory
on the server. This will help avoid some weird error messages when users are
changing the same forms record source, filters and such as well as corruptions.

I specifically created the Auto FE Updater utility so that I could make changes to
the FE MDE as often as I wanted and be quite confident that the next time someone
went to run the app that it would pull in the latest version. For more info on the
errors or the Auto FE Updater utility see the free Auto FE Updater utility at
http://www.granite.ab.ca/access/autofe.htm at my website to keep the FE on each PC up
to date.

In a Terminal Server or Citrix environment the Auto FE Updater now supports creating
a directory named after the user on a server. Given a choice put the FE on the
Citrix server to reduce network traffic and to avoid having to load objects over the
network which can be somewhat sluggish.

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 13 '05 #3
I beleve the errors are coming in on the FE, but I will obviously have to do
some more research.
The FE is in a specified directory on the server. I was looking around and
saw your app. This will make
giving each user their own app much easier. With so many to deal with, I
hadn't planned doing it.

I read the items on the OpLock so I will have to check that in the morning.

thanks, Brian

"Tony Toews" <tt****@telusplanet.net> wrote in message
news:pm********************************@4ax.com...
ja******@bellsouth.net (Brian) wrote:
The users can log in and work in the system just fine, but after a couple
of
hours if a user exits the system or someone needs to sign on, a error
message comes saying the file is not a database or the file needs to be
repaired. Once you repair the system, all users can get back in and again
after a couple of hours it will need to be repair again.


As Thilo mentions first thing I'd do is check out the OpLocks setting.

But which MDB is getting corrupted? The FE MDE or the BE MDB? You also
imply that
your users are sharing the FE MDE. Or at least you haven't stated that
each user
gets thier own copy.

You really want to put the FE on each machine or place in a user specific
directory
on the server. This will help avoid some weird error messages when users
are
changing the same forms record source, filters and such as well as
corruptions.

I specifically created the Auto FE Updater utility so that I could make
changes to
the FE MDE as often as I wanted and be quite confident that the next time
someone
went to run the app that it would pull in the latest version. For more
info on the
errors or the Auto FE Updater utility see the free Auto FE Updater utility
at
http://www.granite.ab.ca/access/autofe.htm at my website to keep the FE on
each PC up
to date.

In a Terminal Server or Citrix environment the Auto FE Updater now
supports creating
a directory named after the user on a server. Given a choice put the FE
on the
Citrix server to reduce network traffic and to avoid having to load
objects over the
network which can be somewhat sluggish.

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 13 '05 #4
OK, I have another question, I know out workstations are using sp4, and I'm
pretty sure the servers are using sp4, in article 300216 it states that sp3
must be installed on both the server and workstation. If sp4 is in both
location, do I still need to see about having the OpLock disabled?
I don't have direct access to these machines, so it might take an act of god
to mess with the registry.

Brian
"Tony Toews" <tt****@telusplanet.net> wrote in message
news:pm********************************@4ax.com...
ja******@bellsouth.net (Brian) wrote:
The users can log in and work in the system just fine, but after a couple
of
hours if a user exits the system or someone needs to sign on, a error
message comes saying the file is not a database or the file needs to be
repaired. Once you repair the system, all users can get back in and again
after a couple of hours it will need to be repair again.


As Thilo mentions first thing I'd do is check out the OpLocks setting.

But which MDB is getting corrupted? The FE MDE or the BE MDB? You also
imply that
your users are sharing the FE MDE. Or at least you haven't stated that
each user
gets thier own copy.

You really want to put the FE on each machine or place in a user specific
directory
on the server. This will help avoid some weird error messages when users
are
changing the same forms record source, filters and such as well as
corruptions.

I specifically created the Auto FE Updater utility so that I could make
changes to
the FE MDE as often as I wanted and be quite confident that the next time
someone
went to run the app that it would pull in the latest version. For more
info on the
errors or the Auto FE Updater utility see the free Auto FE Updater utility
at
http://www.granite.ab.ca/access/autofe.htm at my website to keep the FE on
each PC up
to date.

In a Terminal Server or Citrix environment the Auto FE Updater now
supports creating
a directory named after the user on a server. Given a choice put the FE
on the
Citrix server to reduce network traffic and to avoid having to load
objects over the
network which can be somewhat sluggish.

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 13 '05 #5
"Brian" <ja******@bellsouth.net> wrote:
OK, I have another question, I know out workstations are using sp4, and I'm
pretty sure the servers are using sp4, in article 300216 it states that sp3
must be installed on both the server and workstation. If sp4 is in both
location, do I still need to see about having the OpLock disabled?
Supposedly not. But I have to admit I'm not entirely convinced.
I don't have direct access to these machines, so it might take an act of god
to mess with the registry.


All you need to update is the registry on the server. And reboot it. But I hear you
that this could take a lot of work convincing IT Nazis.

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 13 '05 #6

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

Similar topics

1
by: Setya Nugraha Djajadinata | last post by:
Hi all, I try to open an mdb and it gives error message : The database 'c:\MyDB\PDz.mdb' needs to be repaired or isn't a database file. You or another user may have been unexpectedly quit...
1
by: Gordon Sanderson | last post by:
I have been working with for two days on a database with no problems(changing forms and adding code to the forms and a module). Shut down last night was fine, with no errors generated. This...
1
by: J | last post by:
Hi, Ive got 3 forms, (a subform within a subform within a form) and when I refresh the outermost form, Access closes and offers to send an error report. The forms worked fine a few weeks ago,...
4
by: ronald balk | last post by:
Dear people, after many efforts I'm putting my hope on you. Last week I changed a lot of forms and reports in an Access 2000 database. It all worked fine and I closed the database without any...
0
by: Wayne | last post by:
Can anyone cast any light on the following. I have a database that I have written in Access 2003 using 2000 file format. Everything was working OK when running it under Access 2003 but when I...
3
by: palepimp | last post by:
Hello all, I have searched far and wide for a solution to my issue. In short, here is the problem: 1. 3 PC's enter data into an Access 2003 database (PC's are running Vista w/ Office 2007...
2
by: Chris Gilpin | last post by:
Hey everybody. While running a Query, Access crashed (The 'Send Error Report' window came up) I clicked the option to have access repair and reopen my database. Now in the database folder, I...
4
by: corey11 | last post by:
I'm a very low-level developer with limited VB knowledge but nonetheless was able to put together a very user-friendly and extremely helpful Access 97 database for my company some 10 years back. We...
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...
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?
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.