Skip to Content
author's profile photo Former Member
Former Member

Could not acquire a lock

Hello,

I'm trying to activate and smartform but every time I'm getting this dump:

Error Text of the Database: "[ASE Error SQL12205]Could not acquire a lock

within the specified wait period. SERVER level wait period=2400 seconds,

spid=259, lock type=exclusive row, dbid=4, objid=1260735642, pageno=5821264,

rowno=5. Aborting the transaction.#"

I've checked the LWM and HWM, and this paramteres have default value 2147483647.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 08, 2015 at 06:11 PM

    I don't think the LWM an HWM values will be relevant to this situation. It sounds like some other process is holding an incompatible lock on this row for a long time, and your client is choosing to time out rather than continue to block.

    Use a query against master..syslocks (or wade through the output of sp_lock) to look for such a process.

    -bret

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.