DRW
10-25-2004, 07:01 AM
Hello all
I have a simple problem. I have a VB6 application that uses ADO to link to an Access97 database. Old technology I know, but it has been working fine in multi-user environments for some time without any problems.
I have recently carried out a new installation on a Microsoft Small Business Server network which has Windows XP on all of the clients.
The problem is this; When 1 user is working on the system it is very, very fast. So fast that even I was impressed. However, as soon as any one else logs in both users and any subsequent users slow down to a crawl.
I have other users who have a SBS 2000 server but they are not exclusively using XP clients. They are not experiencing the same speed (or lack of it)problems.
I did a quick test and moved the database from the server onto one of the client machines and shared the drive, folder and mdb file. The system was very, very fast even with 3 users logged in. The only problem with this set-up was that on certain occasions I was getting sharing problems. i.e. the database was locking for some reason.
I investigated further and found that when the client application was creating tables (it creates temporary tables in the database on occasion) or when a recordset was left open, all other client were locked out of the database. So it appeared that the local share was locking the whole database and not unlocking it when the create table action was finished and was also locking the database when a recordset was open.
This led me to think that maybe when the database is located on the server, maybe it is also being locked and any transactions are being queued until the database is released. Leading to very slow database response times.
Has anyone else had problems like this?
The network providers are saying that they have installed a standard SBS2000 network and the application is at fault. I have a customer stuck in the middle who is using the application in single user mode until the issue can be resolved.
Any help would be appreciated.
:confused:
I have a simple problem. I have a VB6 application that uses ADO to link to an Access97 database. Old technology I know, but it has been working fine in multi-user environments for some time without any problems.
I have recently carried out a new installation on a Microsoft Small Business Server network which has Windows XP on all of the clients.
The problem is this; When 1 user is working on the system it is very, very fast. So fast that even I was impressed. However, as soon as any one else logs in both users and any subsequent users slow down to a crawl.
I have other users who have a SBS 2000 server but they are not exclusively using XP clients. They are not experiencing the same speed (or lack of it)problems.
I did a quick test and moved the database from the server onto one of the client machines and shared the drive, folder and mdb file. The system was very, very fast even with 3 users logged in. The only problem with this set-up was that on certain occasions I was getting sharing problems. i.e. the database was locking for some reason.
I investigated further and found that when the client application was creating tables (it creates temporary tables in the database on occasion) or when a recordset was left open, all other client were locked out of the database. So it appeared that the local share was locking the whole database and not unlocking it when the create table action was finished and was also locking the database when a recordset was open.
This led me to think that maybe when the database is located on the server, maybe it is also being locked and any transactions are being queued until the database is released. Leading to very slow database response times.
Has anyone else had problems like this?
The network providers are saying that they have installed a standard SBS2000 network and the application is at fault. I have a customer stuck in the middle who is using the application in single user mode until the issue can be resolved.
Any help would be appreciated.
:confused: