Last post Jun 25, 2010 03:29 PM by erick t
Jun 21, 2010 10:25 PM|Erick T|LINK
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.
Jun 24, 2010 07:50 AM|XiaoCheng Fan - MSFT|LINK
You can right-click on Visual Studio Run AS Administrator ... to run as an administrator.
And you can config remote IIS through IIS manager, for more:
I hope this can be helpful for you.
Jun 24, 2010 07:55 AM|Venkatesan Iyer|LINK
may be this will help you:
Jun 25, 2010 03:29 PM|Erick T|LINK
One of those might help, but it looks like I will be doing the IIS configuration manually.