不能让我的EC2的Windows Server 2008(网络协议栈)实例来接收我的网站publishings我的、让我、实例、协议

由网友(爱吃甜筒的猫)分享简介:我安装了一个新的AMI的EC2(http://aws.amazon.com/amis/Microsoft/5147732567196848),并安装了网络部署2.1就可以了。I installed a fresh AMI for EC2 (http://aws.amazon.com/amis/Microsoft/51...

我安装了一个新的AMI的EC2(http://aws.amazon.com/amis/Microsoft/5147732567196848),并安装了网络部署2.1就可以了。

I installed a fresh AMI for EC2 (http://aws.amazon.com/amis/Microsoft/5147732567196848) and have installed Web deploy 2.1 on it.

在网络部署2.1服务正在运行真正为

The web deploy 2.1 service is running for real as

netstat -an

显示8172是由Web部署代理服务正在监听的。

Shows 8172 is being listened on by the Web Deployment Agent Service.

但是,当我尝试部署到使用工程 - 本网站>右键单击 - >发布(通过网络部署)我收到以下错误信息

But, when I try to deploy to this site using Project->right-click->Publish (via web deploy) I receive the following error message

------ Build started: Project: Cir.Web, Configuration: Debug Any CPU ------
  Cir.Web -> C:ProjectsCrazyInsaneRobotSourceCir.WebbinCir.Web.dll
------ Publish started: Project: Cir.Web, Configuration: Debug Any CPU ------
Transformed Web.config using Web.Debug.config into objDebugTransformWebConfigtransformedWeb.config.
Auto ConnectionString Transformed ViewsWeb.config into objDebugCSAutoParameterizetransformedViewsWeb.config.
Auto ConnectionString Transformed objDebugTransformWebConfigtransformedWeb.config into objDebugCSAutoParameterizetransformedWeb.config.
Copying all files to temporary location below for package/publish:
objDebugPackagePackageTmp.
Start Web Deploy Publish the Application/package to https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default%20Web%20Site ...
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebMicrosoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.  
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebMicrosoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.  
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 

...
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebMicrosoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.  
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 10 of 10.
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0WebMicrosoft.Web.Publishing.targets(3847,5): Error : Web deployment task failed.(Could not complete the request to remote agent URL 'https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default Web Site'.)
This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.
Error details:
Could not complete the request to remote agent URL 'https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default Web Site'.
The underlying connection was closed: An unexpected error occurred on a send.
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.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

我的EC2实例的防火墙已关闭。而我的AWS防火墙设置为

My firewall on the EC2 instance has been turned off. And my AWS firewall settings are

这是推荐的设置。

其他注意事项/想法:

在我的Web部署错误日志中的Windows错误日志完全是空的 我用过去使用的是不同的AMI之前,网络部署和成功没有任何问题。

如果任何人有关于如何调试这任何建议,我会这​​么永远感激!

If anyone has any suggestions about how to debug this, I would be so ever grateful!

推荐答案

我与Microsoft直接有关这个问题,他们立即回答我。

I contact Microsoft directly about this problem and they had an immediate answer for me.

从MS家伙:

它看起来像你的Web管理服务不接触。我当该服务的证书无效之前已经看到了这一点。你可以在你的服务器上运行附件中的脚本?

It looks like your Web Management Service not contactable. I have seen this before when the certificate for the service is invalid. Can you run the attached script on your server?

在启动PowerShell提示符高架 运行设置executionpolicy无限制-force 运行。 00_Certificate.ps1 在净停止WMSVC 在网络启动WMSVC

这是否解决问题?

他是指该脚本可以在这里

阅读全文

相关推荐

最新文章