I'm trying to create a team build for a team project, specifying the same server that TFS is installed on as the build location. I get the following error message:
TF42004: Team Build failed to open folder "xxx". The system cannot find the path specified.
If I explicitly create the server directory in "xxx" I then get a message saying the folder already exists, so the problem seems to be some kind of rights issue with the build account being unable to create directories on that server. The build account is an administrator on the server, in Sharepoint, and in TFS, and it has been given "Log on as Service" privilege. I have no problem creating directories directly on the server when logged in with that account. What kind of configuration issue may I be running into here

Team Build failing in Beta 3.
Amytdev
Please let us know if you have any more issues.
kittu123
Also, would you please double check trying to write any file into the share having logged on as the build service account
Sudipta Banerjee
deleted
Zoran Bebic
The contents of the build log are:
Build started 10/13/2005 11:59:15 AM.
__________________________________________________
Project "d:\builds\NavigationPrototype\NavPrototypeDev\BuildType\TFSBuild.proj" (EndToEndIteration target(s)):
Target InitializeEndToEndIteration:
Target InitializeBuild:
Creating directory "d:\builds\NavigationPrototype\NavPrototypeDev\BuildType\..\Sources".
Creating directory "\\acmonapdb20p\builds\NavPrototypeDev_20051013.1".
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(238,5): error MSB3191: Unable to create directory "\\acmonapdb20p\builds\NavPrototypeDev_20051013.1". Access to the path '\\acmonapdb20p\builds\NavPrototypeDev_20051013.1' is denied.
Done building target "InitializeBuild" in project "TFSBuild.proj" -- FAILED.
Done building project "TFSBuild.proj" -- FAILED.
Build FAILED.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(238,5): error MSB3191: Unable to create directory "\\acmonapdb20p\builds\NavPrototypeDev_20051013.1". Access to the path '\\acmonapdb20p\builds\NavPrototypeDev_20051013.1' is denied.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.16
As you can see I'm getting an access denied error. There are no firewalls involved and I'm able to map to the directory \\acmonapdb20p\builds from another machine using the build account and create a folder manually. The build account has admin rights on the server and log on as service privilege.
Kristian Kjærgaard
JardaJ
Apparel1
Does the drop location contain any subfolder, I mean, is it something like \\myserver\myshare\foobar If so, you will need to create this folder before starting the build. You seemed to have created the entire build drop folder with build name (similar to \\myserver\myshare\foobar\<buildnumber>), which could be the reason for this error. Try creating only the folder as I mentioned above and build again. Please post the build log file in case it does not solve the problem.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you,
Nagaraju
VSTS-TeamBuild
Rinoa
asiaenforcer
Can you provide the following information to understand the exact problem < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
1. Is ‘xxx’ the build directory or the drop location
2. When are you seeing this message Is it while creating the build type Or, while performing the build Or, is it while opening the build report
This seems to be drop location to me. If so, it needs to be a UNC share, something like \\myserver\myshare and the team build service account needs to have full permissions to it.
Thanks
Nagaraju
VSTS-TeamBuild