Saturday, July 3, 2010

The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions.

If 'locks' value configured with any other value other than Zero you may get the above error.
To fix it, set the locks value = 0
sp_configure 'locks',0
reconfigure

No comments: