Geeks With Blogs


Add to Google

Tim Hibbard CEO for EnGraph software

When migrating our TFS from a workgroup based install to Active Directory, we got a couple errors when running Team Build.

Access to the path 'C:\...BuildLog.txt' is denied

To fix this error, I simply deleted the root Team Project folders in Windows Explorer and re-ran the build.  The build then recreated the folders.  You may have to run the builds in a specific order if your solutions reference assemblies that live in these folders.

The other error occurred after a build started:

TF42004: Team Build failed to open folder \\server\share

To fix this error, I explicitly gave the new Active Directory user TFSService full control over the share permission for the folder that contains our drops.  TFSService is the account that launches the build process.  More details about this error are here.

These fixed the last of our problems (I think) with migrating to Active Directory.  Part 1, Part 2 and Part 3 are also available for your reading enjoyment.

Posted on Friday, January 5, 2007 2:11 PM EnGraph , .NET , TFS | Back to top

Comments on this post: TFS Solutions - Access to the path BuildLog.txt is denied and TF42004

# VSTS Links - 01/11/2006
Requesting Gravatar...
Tim Hibbard on TFS Solutions - Access to the path BuildLog.txt is denied and TF42004.

Brian Harry...
Left by Team System News on Jan 11, 2007 6:00 AM

Your comment:
 (will show your gravatar)

Copyright © Tim Hibbard | Powered by: