restore db fail

System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataLabTables.mdf'.

solution:after choose the dbname.bak, click files-> click relocate files to folder

原文地址:https://www.cnblogs.com/daxiong225/p/6856360.html