MsDeploy fehlschlägt, für webdeploy
Ich versuche, web-bereitstellen.
Weil ich wollte, um sich reproduzieren zu können, habe ich ein test system
Windows 2008 RC, IIs 7.5 + Bereitstellungspaket
Ich konfigurierte Bereitstellung
http://learn.iis.net/page.aspx/516/configure-the-web-deployment-handler/
Aktiviert die Ablaufverfolgung
http://technet.microsoft.com/en-us/library/ff729439(v=ws.10).aspx
Ich habe eine neue WCF-Dienstanwendung (nichts verändert) es kompiliert und versucht zu implementieren
Bekomme ich die folgende Antwort(nach ein paar min)
------ Build started: Project: WcfService1, Configuration: Debug Any CPU ------
WcfService1 -> C:\Development\BrandShield\Services\WcfService1\bin\WcfService1.dll
------ Publish started: Project: WcfService1, Configuration: Debug Any CPU ------
Transformed Web.config using Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Debug\Package\PackageTmp.
Start Web Deploy Publish the Application/package to http://dev1:8172/msdeploy.axd/MSDEPLOYAGENTSERVICE ...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Error : Web deployment task failed.(Could not complete the request to remote agent URL 'http://dev1:8172/msdeploy.axd/MSDEPLOYAGENTSERVICE'.)
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 'http://dev1:8172/msdeploy.axd/MSDEPLOYAGENTSERVICE'.
The underlying connection was closed: An unexpected error occurred on a receive.
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 ==========
und keine logs (überhaupt) auf dev1 server-Seite.
Ich habe versucht, viele Variationen, aber diese ist die einfachste Sache zu reproduzieren. und es ist zu scheitern.
irgendwelche Ideen?
Du musst angemeldet sein, um einen Kommentar abzugeben.
Fand ich das Problem.
anstelle von "http://" dev1:8172/msdeploy.axd, die ich verwendet dev1:8172/msdeploy.axd
dies ist actaully das gleiche wie "https://" dev1:8172/msdeploy.axd, die für einige Grund ist, wo Sie den Bereitstellungs-agent überwacht.
Von hier aus erhalten Sie einen neuen Fehler:
Dies ist, weil Sie nicht über ein Zertifikat für die SSL.
Im veröffentlichen Profil-Fenster, die Sie brauchen, um zu überprüfen, die
"Vertrauenswürdige Zertifikat" checkbox
und das veröffentlichen sollte succceed. viel Glück
durch weitergeben des Zertifikats:
Schritt 1:
Schritt 2: