Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

The database (database_name) is not accessible. (ObjectExplorer)

$
0
0

I am not able to do do anything on the database. I am running Microsoft SQL Management Studio 17

I cannot able to detach the DBs nor delete. I am unable to expand the DBs.

I am an administrator.

This is the message I get when I try detaching the file:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Detach database failed for Server 'BGTD05\SQLEXPRESS'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=14.0.17276.0+((SSMS_Rel_17_...

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

The server principal "Server/username" is not able to access the database "Database_name" under the current security context....


Viewing all articles
Browse latest Browse all 4871


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>