mssql '5 (Access is denied.)' error during restoring database

前端 未结 15 2071
忘了有多久
忘了有多久 2021-01-30 04:08

I want to restore a database from a file (Tasks → Restore → Database; after I select from device and select file) via SQL Server Management Studio.

After that, I get th

15条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 04:23

    The account that sql server is running under does not have access to the location where you have the backup file or are trying to restore the database to. You can use SQL Server Configuration Manager to find which account is used to run the SQL Server instance, and then make sure that account has full control over the .BAK file and the folder where the MDF will be restored to.

    enter image description here

提交回复
热议问题