Azure Web部署-错误\u无法\u连接\u到\u REMOTESVC

Azure Web部署-错误\u无法\u连接\u到\u REMOTESVC,azure,visual-studio-2012,webdeploy,Azure,Visual Studio 2012,Webdeploy,我的visual studio web部署已停止 Visual Studio中的消息: Error 8 Web deployment task failed. (Could not connect to the remote computer ("server.cloudapp.net") using the specified process ("Web Management Service") because the server did not respond. Make sure

我的visual studio web部署已停止

Visual Studio中的消息:

Error   8   Web deployment task failed. (Could not connect to the remote computer ("server.cloudapp.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.)      0   0   Website(2)
IIS日志中的消息

    #Software: Microsoft Internet Information Services 7.5
    #Version: 1.0
    #Date: 2015-07-29 16:00:35
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
    2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-07-29 16:00:35
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 401 1 1326 1656
2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 401 1 1326 578
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 546
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 12296
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 13015
2015-07-29 16:01:56 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 4374
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 5109
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 93
2015-07-29 16:05:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 33547 8172 WebDeployUser 98.100.99.xx - 401 1 1326 1656
    2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-07-29 16:00:35
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 401 1 1326 1656
2015-07-29 16:00:35 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 401 1 1326 578
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 546
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 12296
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 13015
2015-07-29 16:01:56 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 4374
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 5109
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 93
2015-07-29 16:05:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 33547 8172 site=MySite 98.100.99.xx - 401 1 1326 578
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 546
2015-07-29 16:01:42 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 12296
2015-07-29 16:01:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 13015
2015-07-29 16:01:56 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx VS12.0:PublishDialog:WTE12.5.60612.0;sid=9d3cf0e6-4187-4b82-bc75-4521d013cba7;op=Sync 200 0 0 4374
2015-07-29 16:02:01 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 5109
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 62
2015-07-29 16:05:22 100.65.156.xx HEAD /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 93
2015-07-29 16:05:55 100.65.156.xx POST /msdeploy.axd site=MySite 8172 WebDeployUser 98.100.99.xx - 200 0 0 33547
事件查看器中的消息

ERROR_SERIALIZER_ALREADY_DISPOSED - An error occurred on a callback thread. These errors are usually benign and are handled automatically. The details are below: 
System.ObjectDisposedException: Cannot access a closed Stream.
   at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.Xml.XmlTextWriter.Flush()
   at Microsoft.Web.Deployment.TraceEventStreamSerializer.WriteKeepAliveEvent()
已启用失败的请求跟踪,但没有显示任何内容

我查过的其他东西

  • 防火墙中的端口是打开的
  • 万维网发布服务、Web部署代理服务和Web管理服务正在运行
  • 没有任何web部署软件未安装
  • 将ProcMon指向“我的网站”文件夹不会显示任何读/写错误
  • 验证和预览步骤在VisualStudio中始终正常工作,实际部署失败
  • Web部署似乎适用于某些站点,而不适用于其他站点。不确定是什么模式
该服务器是azure中的VM,运行带有SP1的windows server 2008 R2数据中心


有什么想法吗?

由于某种原因,交通阻塞了。我最好的猜测是它与防火墙有关。假设您必须为计算机中的部署服务创建/编辑规则。我从未尝试过Azure,但在windows中,在防火墙规则中,在“高级”选项卡上,是否为“公共”配置文件启用了该规则?@rll Ya,我认为windows防火墙端已被清除。我以前试过把它关掉,但似乎没什么效果。交通因为某种原因被阻塞了。我最好的猜测是它与防火墙有关。假设您必须为计算机中的部署服务创建/编辑规则。我从未尝试过Azure,但在windows中,在防火墙规则中,在“高级”选项卡上,是否为“公共”配置文件启用了该规则?@rll Ya,我认为windows防火墙端已被清除。我以前试过把它关掉,但似乎没什么不同。