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?