cjwillis48
cjwillis48

Reputation: 615

Team Foundation Server Access to the Path ... is denied

I just got assigned at my job to figuring out Team Foundation Server as we are switching to it from PVCS. I was messing around with the source control features, trying to get gated check-in to work, as that is something we will be using in my job. I am pretty sure I set up the build definition correctly, as far as I can tell that is, and I turned MSBuild Multi-Proc to false as I have seen suggested online.

My problem is that when I try to check in a file I get an error for every file in my project stating

C:\Builds\1\TFSTestProject\Gated\src\TFSTestPrograms\TFSTestPrograms\{File} Access to the path 'C:\Builds\1\TFSTestProject\Gated\src\TFSTestPrograms\TFSTestPrograms' is denied.

I don't understand why I would have any access denied and I have looked for solutions all over google and have not found anything that has fixed this issue. My server url is just http://localhost:8080/tfs so I should have access to everything (at least I think i should...)

Another thing is that there is no 'Builds' folder on my C:\ drive like in the path they give

I am very confused about this issue and I have no idea how to fix it.

Upvotes: 5

Views: 11722

Answers (2)

Mike Beeler
Mike Beeler

Reputation: 4101

If you have installed a build server the path that it is objecting to is on the build server itself. You should review the installation instructions for the build server and the account used to set up the build server.

Two lengthy to repost but ben day has an excellent TFS installation guide here: http://www.benday.com/BlogFiles/Tfs2012InstallGuide/BenDay-TFS2012-Install-Guide-v1.0.pdf

Upvotes: 3

Drew Marsh
Drew Marsh

Reputation: 33379

Make sure that whatever account you configured TFS and, more importantly, the Team Build service to run as, has full control access to the C:\Builds folder.

Upvotes: 3

Related Questions