tags:

views:

162

answers:

1

When using msdeploy and the msdeploy.axd handler any attempts to deploy to my remote server is met with a 401 not authorized error and the server logs

IISWMSVC_AUTHORIZATION_SERVER_NOT_ALLOWED

Only Windows Administrators are allowed to connect using a server connection. Other users should use the 'Connect To Site or Application' task to be able to connect.

Process:WMSvc

What is the correct way to target the axd for the site level?

+1  A: 

If you're using WMSvc, I'm assuming this is IIS7 ...

If so, then you can deploy with a normal account but you have to make sure these 3 criteria are met:

Your account needs to have: 1 IIS Manager permission for the site/app you are trying to connect with. 2 A delegation rule for msdeploy, that states that you are allowed to do ContentPath operations. 3 Actual filesystem/ACL access to the files.

Russ C
I'm not sure if this is the answer but since you took the time to answer my question I'll give you the bounty instead of letting it expire. I'll follow up if this solved my issue.
Chris Marisic
Could you please add some details about how to add a delegation rule?
Damian Powell