Categories
Sql Server

Error Msg 1807, Level 16, State 3, Line 1 Resolution

Error Msg 1807, Level 16, State 3, Line 1 Resolution

The resolution of this error in Sql server is quick and easy to fix:-

Error Message:-

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.

Close the current connection and Sql server management studio and open Sql server management studio again and try now.