How to delete database, error 5030 database can't be locked

后端 未结 8 1411
自闭症患者
自闭症患者 2021-02-15 00:50

I am trying to delete an existing database in SQL Server 2005. My first attempt produced the following error:

5030: The database could not be exclusively

8条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-15 01:39

    I hate to say it, but a quick solution is to restart the system, make sure the sql server server service is not started, then you should be able to delete.

    Also, is IIS stopped if you db is connected to a web ap?

提交回复
热议问题