SQLTeam.com | Weblogs | Forums

Timeout error when trying to update a row in a table

The problem is that a user has datareader and datawriter permissions on the databases, and is able to update all of the tables in the database, except for one particular one. When the user tries to update this table they get a timeout error.

The user believes it could have something to do with the table being locked.

I have no clue, so any ideas would be great.



A timeout? Not a deadlock?

Well, you could find out more using Activity Monitor. Start AM then run the troublesome query, See what it's waiting on

Another alternative is Adam Machanic's excellent sp_whoisactive http://whoisactive.com/

Thanks for the tip gbritton, I actually ran the Activity Monitor as suggested and found that there were two different users connected to the database and in the "Task State" section was SUSPENDED, when they disconnected, everything seemed to work again.

No idea what the cause could be.

What I have found out in the meantime is that all users that have access to the database use Microsoft Access to do updates, inserts, etc.


You'd need to look at the wait states to dig in further

Thanks gbritton, will see if I can dig a little further.