locked
WebDeploy (401) Unauthorized error RRS feed

  • Question

  • User-1927587691 posted

    I'm getting an unauthorized error from MsDeploy using NTLM authentication when trying to remotely deploy an application using a windows user who is not a local admin on the destination server. When I make that user member of local administrator of my server then publishing works without any issue.  If the windows user is NOT a local administrator I get the following error:

    Error 1 Web deployment task failed.(Remote agent (URL http://xxxxxxx/MSDEPLOYAGENTSERVICE) could not be contacted.  Make sure the remote agent service is installed and started on the target computer.)
    Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
    Error details:
    Remote agent (URL http://xxxxxxx/MSDEPLOYAGENTSERVICE) could not be contacted.  Make sure the remote agent service is installed and started on the target computer.
    An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
    The remote server returned an error: (401) Unauthorized.

    Could you please help me? 

    Thursday, August 18, 2011 6:41 PM

Answers