Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


vb access 97 suddenly very slow over network

Posted on 2004-09-27
Medium Priority
Last Modified: 2013-12-25

I have a little application written in VB6 with an access 97 backend. The application is run from a drive shared  on a windows 2000 server. There are about 10 desktops all running xp. Both the server and the desktops have the latest sp's.

A couple of days ago the application started to run very slowly. I have made no changes to it for months. I can browse files on the server from a desktop without any problems, accessing word and excel files stored on the server seems to work fine. When I run the application from a local drive it runs fine.

Opening the access database itself seems to be very slow too. The database is not too big, only about 80mb.  I'm not really a network person have run out of ideas. Any help would be greatly appreciated. The people who use this application are starting to become a little twitchy and when pushed too far they are capable of extreme violence.


Question by:pkinaus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2

Expert Comment

ID: 12158374
Try to Compact database

Expert Comment

ID: 12158384
Tools -> Database Utilities -> Compact And Repair Database

Author Comment

ID: 12158396
Have already tried to Compact the database.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 12159826
Your server is just providing a file sharing role. 10 users accessing a 80MB database file over the network can expose lots of issues.

Hope there is no issue with free space / fragmentation on the server.

What else could cause this?

(1) Lots of new records inserted into the database
this could affect your query optimisation, and as at (4) below, since all the data is transmitted over the network this could be become very apparent quite suddenly. It is possible that a query will not be optimised as previously. The database being quicker locally would be quite normal. But this would be especially true if the queries were not properly optimised by having the right indexes.

(2) So check the indexes and make sure that they are right for your queries.

(3) Indexes have been corrupted
I have seen ms access databases lose indexes. You could try to create a new database and then import all the objects from the old database. This can both solve and expose issues in the original database.

(4) Faulty network
All data in queries is transmitted over the network. MS Access databases used like this will expose network problems more than other types of file sharing - like opening a spreadsheet or a document

(5) In some cases I found having a local database with linked tables to the server database helped with performance.

All these are issues I have personally seen that can cause your type of problem.

Hope they are of assistance.

Author Comment

ID: 12166222
Thanks for the suggestions kellysys,

It turned out to be the anivirus software we are (were) using. We have been running it for a while with no problems, but for some reason it starting to take a dislike to our application. I removed it and the speed went back up to normal again.

Cheers for your post though, I'm sure your suggestions will be of help some time in the future.

Expert Comment

ID: 12167823
And all that advise for no points !!
Glad you found the problem. Antivirus can be a nightmare sometimes.
LVL 27

Expert Comment

ID: 12213618
G'day pkinaus mate!
I see I am late....
I have had exactly the same issue.
Rather than remove the AntiVirus software, check its settings. In most of them you can remove .mdb from the list of extensions checked. .mdb extensions are considered dangerous as somebody might have written harmful code within them.
Since I only use the .mdb files from VB and not from Access itself, and never use .mdb files written by others, it is quite safe to remove from the AV list.


Accepted Solution

modulo earned 0 total points
ID: 12996084
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question