Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Continuous integration: Prepare for build has no access to redirection.config

$
0
0

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:

https://blogs.msdn.microsoft.com/axdevalm/2016/10/24/how-to-setup-build-agent-and-create-a-build-definition-manually/

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

Viewing all articles
Browse latest Browse all 72043