It's one of solutions...
--Check DB state
select state_desc,name,user_access_desc from sys.databases where name='xxxxx'
Msg 1807 Could not obtain exclusive lock on database 'model'. Retry the operation later.
No comments2014-08-12
Errors like this:
Msg 1807, Level 16, State 3, Line 1
Could not obtain exclusive lock on database 'model'. Retry the operation later.
Msg 1802, Level 16, State 4, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Msg 1807, Level 16, State 3, Line 1
Could not obtain exclusive lock on database 'model'. Retry the operation later.
Msg 1802, Level 16, State 4, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Subscribe to:
Posts (Atom)