Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

System database restore

$
0
0

I need to restore a backup of the master database.    I put MSSqlserver in single-user mode and restart the service.   However, I get the following message:  TITLE: Microsoft SQL Server Management Studio

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

Failed to connect to server . (Microsoft.SqlServer.ConnectionInfo)

Login failed for user ''. Reason: Server is in single user mode. Only one administrator can connect at this time. (Microsoft SQL Server, Error: 18461)

When I set the database back to multi-user and run sp_who, it shows my account as the only login.   Does anyone know how to put the master database in single-user mode without getting this error message?  



Viewing all articles
Browse latest Browse all 7696

Trending Articles



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