How to troubleshoot MSAcess SQL gridlock

normo48
normo48 used Ask the Experts™
on
I support an Access 2000 app with SQL 2000 back end.  Runs on a LAN with Terminal Server for about half the users.  About 40 users total.  This program continues to lock on three of the tables.  Users then get ODBC timeouts on any function that references any of those 3 tables.  It's easy to clear in Enterprise Manager but I have no idea on how to track it down.  If I go to process info about 80% of the processes are under host 'ACER' which I cannot figure out.  ACER is always involved when there is gridlock.   None of my terminal server users have a computer with that name and none on LAN workstations are called ACER.  If I try to send a message via Process Information I get an error.  I cannot ping ACER.

All the locks are 'select' statements.

Any ideas as to where to begin?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012
Commented:
>>None of my terminal server users have a computer with that name and none on LAN workstations are called ACER.<<
This can be eaisily set from within the Connection String of any application.

Author

Commented:
OK, that helps.  ACER is the WSID in the connection string used by all of the linked tables.  Some of the code uses linked tables and some use SQL directly.  So all of the lockups are happening on MSAccess linked tables.  What can I do with the linked tables to minimize the locking?  How best should I set MS Access ( 2002 ) to minimize this problem?
Top Expert 2012
Commented:
>>ACER is the WSID in the connection string used by all of the linked tables<<
Yep.  WSID = WorkstationID which maps to the T-SQL HOST_NAME() function.

I am afraid I have not used MS Access in over 12 years and if you read any of my posts you will see that I am biased against it when used with SQL Server.  So hopefully someone from the MS Access zones will step up to the plate.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial