相关疑难解决方法(0)

Web部署任务失败.无法连接...服务器没有响应

我已经使用Visual Studio 2012 RC将我的Lightswitch应用程序发布到我的localhost(Win 7,SQL 2008 R2,IIS 7.5)就好了.现在我正在尝试发布到远程服务器(Win 2008 R2,SQL 2008 R2,IIS 7.5),我遇到了麻烦.

当我尝试发布时,收到以下错误:

Web部署任务失败.(无法使用指定的进程("Web部署代理服务")连接到远程计算机("###.###.###.###"),因为服务器没有响应.请确保进程("Web部署代理服务")在远程计算机上启动.有关详细信息,请访问:http: //go.microsoft.com/fwlink/?LinkId = 221672 #ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)

我已经检查了"了解更多"链接建议查看的每个内容.我已经验证MsDepSvc和WMSVC都在运行,端口80和8172都响应端口扫描.在发布设置中,对于服务URL,我使用远程计算机的IP地址(http://###.###.#######).对于用户名,我使用的是DomainName\Administrator,这是我使用RDP登录时使用的.

我在MSDN论坛上发布了一个成员建议我将Web部署工具从V2.0回滚到V1.1.我已经完成了,但它没有改变任何东西.

在回答这个SO问题的建议后,我尝试msdeploy从命令行运行.

服务器上的命令行我得到:

C:\ Program Files\IIS\Microsoft Web Deploy> msdeploy -verb:dump -source:dirpath = c:\ temp,computername = http:// SeverName:80/msdeployagentservice,username = Administrator,password = XXXX -verbose -debug详细:使用ID"c12c3392-2290-44b7-9434-dbd0ff5f9385"连接到远程服务器.详细:对远程代理URL'http:// ServerName:80/msdeployagentservice '进行预身份验证,作为"管理员".MSDeploy.dirPath(name = MSDeploy.dirPath)c:\ temp(name = dirPath)(keyAttribute = c:\ temp)(linkName = Child1)

dev机器上的命令行我得到:

C:\ Program Files\IIS\Microsoft Web Deploy V3> msdeploy -verb:dump …

deployment iis msdeploy visual-studio webdeploy

65
推荐指数
6
解决办法
8万
查看次数

为Web Deploy代理设置SSL证书

我已在Windows Server 2008 R2上为我的IIS安装配置了Web Deploy.

我在为域名购买有效证书之前这样做了,因此第一次获取有关自签名证书的Visual Studio警告是正常的.

但是,在我们为域名购买了有效证书后,我不知道如何告诉Web部署使用新证书(我直接发布到https://www.example.org).警告是关于计算机的自签名证书,使用计算机名称作为主机名.

服务器不在AD域中或某种程度上.

有帮助吗?谢谢

ssl iis-7 webdeploy

9
推荐指数
2
解决办法
5059
查看次数

部署 Azure 应用服务时出错:ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

我在通过 Azure DevOps 部署应用程序服务时遇到以下错误。我试图搜索这个问题,但找不到根本原因。

错误 :

2021-03-15T06:01:27.7479723Z ##[error]Error: Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC
More Information: Could not connect to the remote computer ("web-app.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.
Error: The remote server returned an error: (403) Forbidden.
Error count: 1.
'''
Run Code Online (Sandbox Code Playgroud)

azure azure-devops azure-webapps

5
推荐指数
2
解决办法
1万
查看次数