How to use msdeploy and target a specific site?

前端 未结 3 592
广开言路
广开言路 2021-02-13 07:18

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

IIS

3条回答
  •  失恋的感觉
    2021-02-13 07:32

    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.

提交回复
热议问题