无法通过VS2010使用发布在Windows Azure上发布网站 [英] Not able to publish website on Windows Azure using publish through VS2010

查看:49
本文介绍了无法通过VS2010使用发布在Windows Azure上发布网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试通过Visual Studio 2010在Windows Azure上发布我的Web应用程序时,我遇到了这个问题.我试图通过右键单击项目并选择发布并导入从Windows Azure平台下载的发布配置文件".

I am facing this problem when I try to publish my web application on Windows Azure via Visual Studio 2010. I am trying by right click on project and select publish and importing publish profile downloaded from Windows Azure platform.

我收到此错误:

错误1 Web部署任务失败.(无法连接到远程计算机("waws-prod-am2-001.publish.azurewebsites.windows.net".).在远程计算机上,确保已安装Web Deploy和所需的过程("Web Management Service"."已启动.有关更多信息,请参见: http://go.microsoft.com/fwlink/?LinkId = 221672#ERROR_DESTINATION_NOT_REACHABLE .)0 0 MeraSungard

Error 1 Web deployment task failed. (Could not connect to the remote computer ("waws-prod-am2-001.publish.azurewebsites.windows.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.) 0 0 MeraSungard

推荐答案

当您尝试将VS2010中的Web应用程序发布到Windows Azure网站时,发布过程将在启用了Web部署的特定端口上连接到Windows Azure网站.服务.在VS 2010中,如果到该服务端口的连接失败,则VS返回错误,因为在远程服务器上安装了Web Deploy......"事实是WebDeploy服务已经在运行,并且其他计算机可以连接到同一台服务器并部署该问题是特定于您的网络和计算机的.

When you are trying to publish your web application from VS2010 to Windows Azure Websites, the publish process connect to Windows Azure Websites on specific port which is enabled for Web Deploy service. In VS 2010 if the connection to this service port is failed then VS return error as "Web Deploy is installed........ on remote server. The fact is that the WebDeploy service is already running and other machines could connect to the same server and deploy the problem is specific to your network and your machine.

有两个主要查找位置:1)部署计算机防火墙2)代理服务器(如果您位于代理之后).尝试在本地更改与网络相关的设置,以便使其正常运行.

There are two main place to look for 1) your deployment machine firewall 2) Proxy server if you are behind proxy. Try to change the network related settings locally so you can get it working.

这篇关于无法通过VS2010使用发布在Windows Azure上发布网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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