locked
How to specify IIS settings for TFS build RRS feed

  • Question

  • User-376359190 posted

    I have the 'Include All IIS settings' checked in the package/publish web tab of a VS 2010 MVC project. The project is in a TFS build server (not local to the development machine). I set up the build to do the deployment via MS Deploy (/p:DeployOnBuild and /p:Configuration). When I queue a build, I keep getting the error below:

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (1657): Retrieve local IIS properties from the URI requires Administrator's permission.  Please elevate to Administrator before execute the program."

    This would seem to indicate that the build/MS deploy is trying to connect to an IIS instance to get the settings. From the error, I assume it is trying to connect to the development box's IIS, which will never work given the network (no open ports on development machines). Is there another way to configure the IIS settings for this situation? In particular, AppPool, Authentication, etc.

    Thanks,
    Erick

    Monday, June 21, 2010 10:25 PM

Answers

All replies