如何使用msdeploy并定位到特定站点? [英] How to use msdeploy and target a specific site?

查看:82
本文介绍了如何使用msdeploy并定位到特定站点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用msdeploy和msdeploy.axd处理程序时,任何尝试部署到我的远程服务器的尝试都会遇到401未经授权的错误,并且服务器会记录

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

IISWMSVC_AUTHORIZATION_SERVER_NOT_ALLOWED

仅允许Windows管理员使用服务器进行连接 联系.其他用户应使用连接到站点或 应用程序的任务以能够进行连接.

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.

进程:WMSvc

将axd定位为网站级别的正确方法是什么?

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

推荐答案

如果使用Web Deploy Tool 2.0,则可以使用IIS管理器UI允许非管理员用户部署网站:

If you use Web Deploy Tool 2.0 you can use IIS Manager UI to enable non-admin users to deploy website:

  1. 启动IIS管理器
  2. 右键单击要发布到的站点,单击部署",然后单击配置Web Deploy发布..."

当您单击设置"按钮时,"Web部署"会向所选用户授予必要的权限.您可以丢弃生成的文件.

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

请参见宣布Web Deploy 2.0刷新!

这篇关于如何使用msdeploy并定位到特定站点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆