![Restore failed for Server 'ServerName'. (Microsoft.SqlServer.SmoExtended) System.Data.SqlClient.SqlError: Exclusive access Could not be Obtained Because the database is in use.(Microsoft.SqlServer.Smo) | issuesandfixes Restore failed for Server 'ServerName'. (Microsoft.SqlServer.SmoExtended) System.Data.SqlClient.SqlError: Exclusive access Could not be Obtained Because the database is in use.(Microsoft.SqlServer.Smo) | issuesandfixes](https://issuesandfixes.files.wordpress.com/2013/07/17.gif)
Restore failed for Server 'ServerName'. (Microsoft.SqlServer.SmoExtended) System.Data.SqlClient.SqlError: Exclusive access Could not be Obtained Because the database is in use.(Microsoft.SqlServer.Smo) | issuesandfixes
![SQL SERVER - Add Database to Availability Group Failure - This BACKUP or RESTORE Command is Not Supported on a Database Mirror or Secondary Replica - SQL Authority with Pinal Dave SQL SERVER - Add Database to Availability Group Failure - This BACKUP or RESTORE Command is Not Supported on a Database Mirror or Secondary Replica - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/e/restore-err-seed-01.jpg)
SQL SERVER - Add Database to Availability Group Failure - This BACKUP or RESTORE Command is Not Supported on a Database Mirror or Secondary Replica - SQL Authority with Pinal Dave
![SQL SERVER - FIX : Error 3154: The backup set holds a backup of a database other than the existing database - SSMS - SQL Authority with Pinal Dave SQL SERVER - FIX : Error 3154: The backup set holds a backup of a database other than the existing database - SSMS - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/3154-1.jpg)
SQL SERVER - FIX : Error 3154: The backup set holds a backup of a database other than the existing database - SSMS - SQL Authority with Pinal Dave
![Exclusive Access Could Not Be Obtained Because the Database is in Use - SQL Server Log Explorer - Insight Details of SQL Server Exclusive Access Could Not Be Obtained Because the Database is in Use - SQL Server Log Explorer - Insight Details of SQL Server](https://www.sqlserverlogexplorer.com/wp-content/uploads/2015/10/restore-error-in-sql-server1.jpg)
Exclusive Access Could Not Be Obtained Because the Database is in Use - SQL Server Log Explorer - Insight Details of SQL Server
![SQL Server 2012 Troubleshooting: Restore of database failed - TechNet Articles - United States (English) - TechNet Wiki SQL Server 2012 Troubleshooting: Restore of database failed - TechNet Articles - United States (English) - TechNet Wiki](http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-05/8272.20151001.RestoreError.01.png)