How to use msdeploy and target a specific site?

前端 未结 3 598
广开言路
广开言路 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 use Web Deploy Tool 2.0 you can use IIS Manager UI to enable non-admin users to deploy website:

    1. Start IIS Manager
    2. Right-click the site you want to publish to, click Deploy and then click “Configure Web Deploy Publishing...”

    IIS Manager Web Deploy Publishing

    When you click Setup button Web Deploy grants necessary permissions to selected user. You can discard generated file.

    See Announcing Web Deploy 2.0 Refresh!

提交回复
热议问题