You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems we have issues restoring DBs with Import-ScDatabases, while manual restores work fine. Exception encountered:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Data.SqlClient.SqlException (0x80131904): The operating system returned the error '32(The process cannot access the file because it is being used by another process.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.mdf'. File 'Sitecore.Master.Data' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.mdf'. Use WITH MOVE to identify a valid location for the file. The operating system returned the error '32(The process cannot access the file because it is being used by another process.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.ldf'. File 'Sitecore.Master.Log' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.ldf'. Use WITH MOVE to identify a valid location for the file. Problems were identified while planning for the RESTORE statement. Previous messages provide details. RESTORE DATABASE is terminating abnormally. at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException) at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry) ClientConnectionId:0a3d41a0-6575-4bfa-8925-9b5c7e7af734 Error Number:3634,State:1,Class:16
The text was updated successfully, but these errors were encountered:
It seems we have issues restoring DBs with Import-ScDatabases, while manual restores work fine. Exception encountered:
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Data.SqlClient.SqlException (0x80131904): The operating system returned the error '32(The process cannot access the file because it is being used by another process.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.mdf'. File 'Sitecore.Master.Data' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.mdf'. Use WITH MOVE to identify a valid location for the file. The operating system returned the error '32(The process cannot access the file because it is being used by another process.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.ldf'. File 'Sitecore.Master.Log' cannot be restored to 'C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\xxx_sc8_internet_master.ldf'. Use WITH MOVE to identify a valid location for the file. Problems were identified while planning for the RESTORE statement. Previous messages provide details. RESTORE DATABASE is terminating abnormally. at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException) at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry) ClientConnectionId:0a3d41a0-6575-4bfa-8925-9b5c7e7af734 Error Number:3634,State:1,Class:16
The text was updated successfully, but these errors were encountered: