It is ACL list error (access control list).
Possible reasons:
- SQL Server service (sqlsrvr.exe) should have RW permissions on the folder that contains the .BAK file (check service account SQL engine is using)
- Trying to create the MDF and LDF file for the intended database at a different location as compared to the default directories
Possible Solutions:
- Add the service account running the SQL Server to have full RW access to the folder that contains the .BAK file using security permissions or
- move the .BAK file (or MDF/LDF files depending on restore or attach option) to the default folder for SQL Server backups or
- starts SSMS as administrator or
- change the user account running the SQL service to an account who has admin privileges to the folder containing .BAK file, attach DB and then revert back with original account
Summary of solutions : SQL Server service account should have access to the folders where it is reading or writing to avoid ACL permissions issues.


0 Comments.