Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Location
    Vancouver, WA
    Posts
    211

    TeamCity Deploy Website

    Ok so I finished all the videos up to upgrading photon part 1 which I haven't done.
    So I am trying to deploy the website and changed the settings in the teamcity MSbuild step to MSbuild version: MS build tools 2015 and MSbuild Tools version 14.0 this works on all the other builds but not the website.

    I get the following error.
    [Exec] EXEC (3/11/2017 3:17:50 AM) An error occurred when the request was processed on the remote computer.
    [Exec] EXEC An error occurred when reading the IIS Configuration File 'MACHINE/REDIRECTION'. The identity performing the operation was 'DESKPROD\deploy'.
    [Exec] EXEC Filename: \\?\C:\WINDOWS\system32\inetsrv\config\redirection .config
    [Exec] EXEC Cannot read configuration file due to insufficient permissions

    [Exec] at Microsoft.Web.Deployment.IAppHostConfigManager.Get ConfigFile(String bstrConfigPath)
    [Exec] at Microsoft.Web.Deployment.AdminManagerWrapper.GetCo nfigFile(String path)

    I have gone so far as to set permissions for depoy, teamcity and IIS_IUSRS
    on following config folder and redirection.config file but still not getting a success.
    The only way to fail is to give up or die...

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    1,213
    This link matches your error pretty closely
    http://www.colinsalmcorner.com/post/...-access-denied

    Not just the folder permissions, but also the owner.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •