Hello,
I have setup continuous integration with a development box that is hosted in LCS/Azure, as part of my project.
I ran through the setup described on the following page:
Everythings seems correctly setup:
I have a build definition, a coupled build agent (within my agent pool).
I have a service running in my development box running under the 'Network Service' account.
But each time I run the build, it fails at "Prepare for build". With the following log information:
2018-03-04T18:02:57.0270363Z System.UnauthorizedAccessException: Filename: redirection.config
2018-03-04T18:02:57.0270471Z
2018-03-04T18:02:57.0270586Z Error: Cannot read configuration file due to insufficient permissions
Please find the total log of the PrepareForBuild step in the following link:
I already tried setting the permission for the 'network service account' to maximum permissions on the 'redirection.config' file in the folder : C:\Windows\System32\inetsrv\backup\XXXX-XXXX-AOSService
Any help is greatly appreciated.
Kind regards
Mathieu