is claimed by '' the with move clause can be used to relocate one or more files
ADDITIONAL INFORMATION: System.Data.SqlClient.SqlError: File âC:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MyDatabase.mdfâ is claimed by âMyDatabase_logâ(2) and âMyDatabaseâ(1). The WITH MOVE clause can be used to relocate one or more files.(Microsoft.SqlServer.Smo). For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000.0+((KJ_PCU_Main).120628-0827+)&LinkId=20476. As usual, the links provided by SQL Server were of least use.fter reading the error closely a few times I understood the error is not related to SQL Server version but is related to the files being used by the restoration.It was found that the .mdf file of the database is being used twice by the restoration process and hence tried to restore the database using a script.