I'm trying to use msbuild/webdeploy with teamcity to deploy to IIS. However, I'm getting an ERROR_USER_UNAUTHORIZED error message and link pointing me to this page on iis.net.
I'm using the Web Management Service to do this and I can verify that the username and password exist (I can log into the server with that combination), the site exists and the the user has IIS manager permissions:
So what am I missing out?
Edit: New screenshot to answer @dirt:
Right there in your screen shot: "The server is configured to accept connections only from accounts with Windows credentials.".
Main level IIS Manager > Management Services > Allow both Windows and IIS Credentials
Reference: http://www.iis.net/learn/manage/remote-administration/configuring-remote-administration-and-feature-delegation-in-iis-7
Also make sure you have added the user to both the Server level IIS Manager Users and the Site level IIS Manager Permissions:
Server level:
Site level:
And finally check this page: http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes