Operation failed because object was locked
scottwade
Posts: 2
I am trying to commit changes to a database (views, procs) to TFS (Visual Studio Online) and getting an error now. Never had an issue before.
The operation failed because an object was locked: $/..... table.sql
Any ideas? I have not enabled any locking also.
Maybe something wrong with corrupted cache?
The operation failed because an object was locked: $/..... table.sql
Any ideas? I have not enabled any locking also.
Maybe something wrong with corrupted cache?
Comments
Sorry to hear you're experiencing this problem. The error message is suggesting that a file in your repository is locked, so I don't think it's referring to SQL Source Control's locking feature - that is for locking objects within the database. It's possible that it might be locked within TFS itself. I'd recommend investigating to see if there's anything odd going on in there that might be preventing you from committing.
Redgate Software