Problem attaching mdf file in sql server 2008

Posted by Fraz Sundal on Server Fault See other posts from Server Fault or by Fraz Sundal
Published on 2010-08-13T18:27:29Z Indexed on 2010/12/31 3:56 UTC
Read the original article Hit count: 384

I have an mdf file of sql server 2005 database now i want it to attach in sql server 2008 R2 but when i try to attach it, it gave me error saying.

Unable to open the physical file "D:\Fraz\Freelance\Database\DBmdf13aug\mbh_pk.mdf". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120)

what can be the problem and how to fix it? Is this folder permission error or sql server 2008 have something missing

© Server Fault or respective owner

Related posts about sql-server-2005

Related posts about sql-server-2008