Friday, July 15, 2016

(Solved) Error: Exclusive access could not be obtained because the database is in use

Error:

Exclusive access could not be obtained because the database is in use

Solution:


  1. USE MASTER;
  2. ALTER DATABASE [dbname] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

No comments:

Post a Comment