We had a Windows 2008R2 server with SQL 2012 that crapped out during a hardware upgrade.We've attached the same SAN drives to a new Windows 2012 R2 server and installed SQL2014. The old SQL instance was shut down cleanly before the instance died so the MDF & LDF files should be intact. I'm trying to attach them to the new 2014 instance but I'm getting the error "Unable to open the physical file "E:\SQLData\User\dbname.mdf". Operating system error 5: "5(Access is denied.)".As far as I can tell, the SQL Service Account has full control on the files and the folders. Any ideas?
↧