Identify the user who has a table locked. An attempt to write to a table fails if another transaction holds a lock on that table.
For example, when another transaction holds a lock, you see:
Cannot open the requested object for write in the current transaction (TxnID1). Another user has write access in transaction TxnID2.
Find TxnID2 in the output of sp_iqtransaction, and look for the name of the user in the same row of output.