a·gen·tic a·gil·i·ty

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.

Published on
2 minute read
Image
https://nkdagility.com/resources/wzTZxQrjbzO
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.

TFS Integration Tools – Issue: Access denied to Program Files

Figure: Access denied to Program Files?

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

Applies to

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.

TFS Integration Tools – Issue: Access denied to Program Files

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.

Subscribe

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

Lean SA Logo

Lean SA

Xceptor - Process and Data Automation Logo

Xceptor - Process and Data Automation

ProgramUtvikling Logo

ProgramUtvikling

Healthgrades Logo

Healthgrades

Epic Games Logo

Epic Games

SuperControl Logo

SuperControl

Akaditi Logo

Akaditi

Microsoft Logo

Microsoft

Higher Education Statistics Agency Logo

Higher Education Statistics Agency

Illumina Logo

Illumina

Graham & Brown Logo

Graham & Brown

Capita Secure Information Solutions Ltd Logo

Capita Secure Information Solutions Ltd

New Signature Logo

New Signature

Sage Logo

Sage

ALS Life Sciences Logo

ALS Life Sciences

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

DFDS Logo

DFDS

Ghana Police Service Logo

Ghana Police Service

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

Nottingham County Council Logo

Nottingham County Council

Washington Department of Transport Logo

Washington Department of Transport

Royal Air Force Logo

Royal Air Force

Philips Logo

Philips

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

Boeing Logo

Boeing

Xceptor - Process and Data Automation Logo

Xceptor - Process and Data Automation

Epic Games Logo

Epic Games

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.