Setting up auto deploy service. Installing managment service so that a window user/admin is not needed.http://learn.iis.net/page.aspx/159/configuring-remote-administration-and-feature-delegation-in-iis-7/
In addiiton, after adding user, give them permissions to deploy:
under Default Web Site tasks, Deploy>ConfigureWebdeplyPublishing
Give AutoDeploy permission to manage the site
Install the full package, not the web eploy package
Custom. Install Non-Admistrative Deployments
Management Service Delegation
Error 8 Web deployment task failed.(Connected to 'river.sdsc.edu' using the Web Deployment Agent Service, but could not authorize. Make sure you are an admin on 'river.sdsc.edu'.)
Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
Connected to 'river.sdsc.edu' using the Web Deployment Agent Service, but could not authorize. Make sure you are an admin on 'river.sdsc.edu'.
The remote server returned an error: (401) Unauthorized. 0 0 WaterWebService2
tried this in domain environment and non-domain environment. Following is the difference I noticed:
Domain Environment: If the USER-A is in the Administrators group then USER-A is able to publish site without any issue.
Non-Domain Enviroment: Only built-in Administrator can publish the websites and no other users includding USER-A can publish websites even though they are in Administrators group.
I have tried in multiple servers, but same behavior.
reg add HKLM\Software\Microsoft\WebManagement\Server /v WindowsAuthenticationEnabled /t REG_DWORD /d 1
Click Start, click Run, type regedit, and then press ENTER.
Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
If the LocalAccountTokenFilterPolicy registry entry does not exist, follow these steps:
On the Edit menu, point to New, and then click DWORD Value.
Type LocalAccountTokenFilterPolicy, and then press ENTER.
Right-click LocalAccountTokenFilterPolicy, and then click Modify.
In the Value data box, type 1, and then click OK.
Exit Registry Editor.