TFS Integration Tools – Issue: Access denied to Program Files

TL;DR

Explains how to fix an "Access Denied" error when TFS Integration Tools cannot write log files to Program Files, including permission changes and retry steps.

10 July 2012
Written by Martin Hinshelwood
1 minute read
Comments
Subscribe

You get a Unauthorised Access Exception when the TFS Integration Platform tries to write a file to the ‘C:Program Files (x86)Microsoft Team Foundation Server Integration Tools2768.txt’ folder.

image

Figure: Access denied to Program Files?

This is a runtime error that must be resolved to continue.

Applies to

  • TFS Integration Tools, version 2.2, March 2012

Finding

We are calling web services and as with all things web, things go awry occasionally. In this case we may not have gotten an timely response from the server. This does not mean that things have gone wrong, but instead that we may need to retry an action. Rather then choke the TFS Integration Platform does a “Code Review” and needs to write to its own local folder in order to save the log file required.

7-6-2012 12-52-15 PM

Figure: Code Review conflict

Just in case the Integration Platform throws a “Conflict” that needs to be resolved manually to continue. One of the options is to “Retry” and 100% of the times that we got this error that worked a treat.

Workaround

Right click on the “Microsoft Team Foundation Server Integration Tools” and add permission for the account that you are running the TFS Integration Tools under.

Smart Classifications

Each classification [Concepts, Categories, & Tags] was assigned using AI-powered semantic analysis and scored across relevance, depth, and alignment. Final decisions? Still human. Always traceable. Hover to see how it applies.

Comments
Subscribe

What to read next

Article

TFS Integration Tools - Issue: TFS WIT bypass-rule submission is enabled

Explains how to resolve TFS Integration Platform errors caused by missing permissions for bypass-rule submission by adding accounts to the …

Read article
Article Engineering Excellence

Access denied for orchestration plan on Build

Explains how to resolve TFS build errors caused by missing write permissions for the Project Collection Build Service on orchestration …

Read article
Article Engineering Excellence

TFS Integration Tools – Issue: Error occurred during the code review of change group

Explains causes and solutions for the "Error occurred during the code review of change group" in TFS Integration Tools, including common …

Read article