Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

tfs

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.

like image 299
cjwillis48 Avatar asked Jan 30 '14 16:01

cjwillis48


People also ask

Why is access to the path denied?

You may see “Access to the path is denied” error if the application is not able access to a path that is trying to read or write. This will show up as 401 Unauthorized error in IIS logs.


1 Answers

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

like image 67
Mike Beeler Avatar answered Oct 13 '22 07:10

Mike Beeler