Web部署 - ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

时间:2015-07-29 16:34:22

标签: azure visual-studio-2012 webdeploy

我从visual studio部署的网络已经死亡。

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并不显示任何读/写错误
  • 验证和预览步骤在visual studio中始终正常,它是失败的实际部署。
  • Web Deploy似乎适用于某些网站,而不适用于其他网站。不确定模式是什么。

服务器是Azure中的VM,正在运行带有SP1的Windows Server 2008 R2 Datacenter。

有什么想法吗?

0 个答案:

没有答案