Web Deploy to IIS7 fails with 401 (Unauthorized)

Posted by Trex on Server Fault See other posts from Server Fault or by Trex
Published on 2012-05-28T09:40:37Z Indexed on 2014/06/04 3:27 UTC
Read the original article Hit count: 426

Filed under:

we have IIS7 running on Windows Web Server 2008 R2 and it's set up to support Web Deploy. It worked fine when we used the default Administrator account. We recently disabled this account (for security reasons) and are now trying to deploy using another account which is member of the Administrators group, but the deploy fails with 401 (Unauthorized). More specifically, it says:
Connected to '<IP>' using Web Deployment Agent Service, but could not authorize. Make sure you are an admin on '<IP>'. The remote server returned an error: (401) Unauthorized.
Anybody has any ideas why this is happening?

Thanks.
Trex

© Server Fault or respective owner

Related posts about iis7