Access denied

Topics: General, Installing Orchard
May 15, 2012 at 3:48 PM


I'm getting several errors such below one when i try to build my team solution which is kept on Tfs 2010.

Error 35 Unable to copy file "D:\Avekon Repository\AveVocTest\Orchard\bin\Debug\Orchard.Framework.dll" to "bin\Debug\Orchard.Framework.dll". Access to the path 'bin\Debug\Orchard.Framework.dll' is denied. Orchard.Core.Tests

I think this is about write permissions but i don't know why is this occuring and how to solve it quickly. Granting correct rights to correct user should be the solution but i'm not sure.

What is the quick solution for that little problem? Thanks in advance,

My configuration : Windows 7, SQL CE, VS 2010 and TFS 2010



May 15, 2012 at 7:26 PM

Could be that the file is locked by some process, too. With TFS, nothing would surprise me. I'd recommend finding the handle with Process Explorer and killing the guilty process.

May 16, 2012 at 11:27 AM

I noticed that my user account isn't under local administrator group. That's why i don't have write permission. It's fixed when i done it.. btw thanks Bertrand.