-1

I try to attach a database and get an "error 5 access denied" error. I changed the permisions on the folder for the user "NT Service\MSSQL$MS64BITSQLSERVER" and gave full access but the error is still there.

The SQL Server service logs on as "NT Service\MSSQL$MS64BITSQLSERVER"

I'm sure that is an problem with the access rights. Any further suggestions?

Thanks and regards

jarlh
  • 42,561
  • 8
  • 45
  • 63
knowledge
  • 941
  • 1
  • 11
  • 26

1 Answers1

0

The user which connects to database via windows authentication is already an Admin. But I must gave the user additional explicit full access on the folder which contains the files (properties/security). After that the error 5 file access disappears.

knowledge
  • 941
  • 1
  • 11
  • 26