代码改变世界

[问题]SqlServer创建数据库出错

2014-07-18 16:50  Benoly  阅读(1519)  评论(0编辑  收藏  举报

SqlServer 2008


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.

解决方法:断开连接,重新连接后再尝试创建即可。