Hi
I have a DB that is stuck in single-user mode.
I believe I tried everything, please help!
I get this error when trying to access to db properties:
Cannot show requested dialog.
------------------------------
ADDITIONAL INFORMATION:
Cannot show requested dialog. (SqlMgmt)
------------------------------
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Database 'DBNAME' is already open and can only have one user at a time. (Microsoft SQL Server, Error: 924)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.5058&EvtSrc=MSSQLServer&EvtID=924&LinkId=20476
This is all I tried so far:
1. Restarting the server
2. sp_who and then kill process ID that is using this DB
3. stopping web server(sharepoint) that`s using this db
4. alter database "DB-NAME" set multi_user
5. ALTER DATABASE "DB-NAME" SET MULTI_USER WITH NO_WAIT
6. ALTER DATABASE "DB-NAME" SET MULTI_USER WITH ROLLBACK IMMEDIATE
What else can I do??
HELP!!
Thank you all!!