Hi,
Good Afternoon :). Need your help in resolving one of the issue with SQL Server 2012.
Today, we kept one of the database in the Single User mode and wanted to bring back to Multi User mode. But we are getting the below error. There are no user sessions connected to this database which are blocking each other. I see multiple SYSTEM sessions are in blocked state. The blocking is not cleared even affter restarting the SQL services.
Verified the SQL Server Errorlog and couldnt get much useful information to troubleshoot the issue.
pasted the information from the sys.sysprocesses as well for your kind reference.
Msg 1205, Level 13, State 68, Line 1
Transaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
spid | kpid | blocked | waittype | waittime | dbid | login_time | status | cmd |
18 | 1004 | 36 | 0x0005 | 144 | 5 | 4/9/2014 13:13 | background | TASK MANAGER |
35 | 1796 | 36 | 0x0005 | 35 | 5 | 4/9/2014 13:34 | background | TASK MANAGER |
36 | 2464 | 37 | 0x0005 | 363 | 5 | 4/9/2014 13:34 | background | TASK MANAGER |
37 | 5100 | 36 | 0x0005 | 254 | 5 | 4/9/2014 13:04 | background | TASK MANAGER |