To setup IIS remote WebDeploy:
Step 1 – Server side ( Windows server 2008 R2 only)
Follow this article to turn remote feature on, and set up new remote user. http://learn.iis.net/page.aspx/159/configuring-remote-administration-and-feature-delegation-in-iis-7/
Step 2 – Setup web deployment handler, to allow non-admin user be able to deploy remotely.
Follow this post: http://learn.iis.net/page.aspx/516/configure-the-web-deployment-handler/
- In the RunAs section, select SpecificUser for the Identity Type, and the click the Set… button to specify a user account that will perform this operation. In order for this rule to work, the rule must run as a user that has access to write to the applicationHost.config file. It is recommended that you create an account (for example, “CreateAppUser”) that is not in the Administrators group and only grant it the minimum required permissions. To do this:
- Create a user account.
- Grant read permission to %windir%\system32\inetsrv\config.
- Grant modify permission to %windir%\system32\inetsrv\config\applicationHost.config.
Step 3 – Turn on delegate request tracing.
This can help with debugging deployment issues. Install FREB by adding a tracing feature to IIS, as described in this post: http://www.iis.net/ConfigReference/system.webServer/tracing/traceFailedRequests
Step 4 – Client side install IIS Manager for Remote Administration extension for IIS7 manager.