Visual studio WebDeploy-just can';我不能让它工作

Visual studio WebDeploy-just can';我不能让它工作,visual-studio,iis,deployment,msdeploy,msdeployserviceagent,Visual Studio,Iis,Deployment,Msdeploy,Msdeployserviceagent,我已经在VMWare下运行的服务器2008 R2上安装了Web Deploy 2.1 在IIS管理器(管理服务小程序)中,我可以看到选中了“启用远程连接”,端口设置为8172。在“IIS管理器权限”下,我添加了我的Windows帐户(CORP\ekkis),在“身份验证”小程序(用于IIS)下,我启用了“Windows身份验证” 我还关闭了防火墙 因此,我从命令行测试系统的工作方式如下: C:\Program Files\IIS\Microsoft Web Deploy V2>msdepl

我已经在VMWare下运行的服务器2008 R2上安装了Web Deploy 2.1

在IIS管理器(管理服务小程序)中,我可以看到选中了“启用远程连接”,端口设置为8172。在“IIS管理器权限”下,我添加了我的Windows帐户(CORP\ekkis),在“身份验证”小程序(用于IIS)下,我启用了“Windows身份验证”

我还关闭了防火墙

因此,我从命令行测试系统的工作方式如下:

C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:dump -source:contentPath=\temp,wmsvc=192.168.0.70,username=CORP\ekkis,password=MyPass,authType=Basic -allowUntrusted=True
得到这个:

Info: Using ID '9b954a0f-ff07-4e77-ba2c-d27472f5fda0' for connections to the rem
ote server.
Error Code: ERROR_USER_UNAUTHORIZED
More Information: Connected to the destination computer ("192.168.0.70") using t
he Web Management Service, but could not authorize. Make sure that you are using
 the correct user name and password, that the site you are connecting to exists,
 and that the credentials represent a user who has permissions to access the sit
e.
Error: Object of type 'contentPath' and path '\temp' cannot be created.
Error: The remote server returned an error: (401) Unauthorized.
Error count: 1.
我还尝试从主机操作系统使用Visual Studio 2010部署以下服务url(我还没有找到有关如何形成此url的适当文档):

我也尝试过非安全版本,但就是无法让它工作。url的正确格式是什么?我缺少什么权限

VS的错误因我尝试的方式而异,但下面是一个示例:

Could not complete the request to remote agent URL 'http://192.168.0.70:8172//MSDEPLOYAGENTSERVICE'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Publish failed to deploy.
真的应该有一个向导来做这件事(是的,我在谷歌上搜索了自己的脸)


谢谢-ekkis

好的,我发现正确的url是:

https://192.168.0.70:8172/MsDeploy.axd
而且启用“Windows身份验证”似乎没有什么不同。此外,将我的账户列入“经理”名单似乎也没有什么不同

因此后端工作正常(我已经关闭了Web部署代理服务)。这只是我弄错的网址

https://192.168.0.70:8172/MsDeploy.axd