I am getting an error trying to attach a database whose files were previously encrypted via EFS. The actuall error message is
Msg 5120, Level 16, State 101, Line 9
Unable to open the physical file "C:\test.mdf". Operating system error 5: "5(Access is denied.)".
If I decrypt the files, then I successfully can attach the database. I am using the same domain user who did the encryption. Any ideas?