Questions tagged [msdeploy]

MSDeploy is a tool developed by Microsoft, also known as 'Web Deploy'. It allows the simple deployment and configuration of applications being deployed to IIS.

MSDeploy is a tool developed by Microsoft, also known as 'Web Deploy'. It allows the simple deployment and configuration of applications being deployed to IIS.

It is installed as a service within IIS (v6 and above) and allows an SSL connection to be made from an MSDeploy client over HTTPS, typically on port 8172. Clients who have been authorised by the IIS administrator are permitted to carry out a number of actions on the server, including but not limited to:

  • Installing / Updating a .NET application
  • Deploying static content
  • Configuring the IIS server
  • Synchronising the configuration between two IIS servers
  • Setting directory permissions on the server
  • Deploying a database SQL script (MySQL, SQLite and 'Full SQL' supported)
  • Install .NET assemblies in the GAC
  • Manipulate server certificates

Full documentation is available at Technet with the latest version available at Microsoft.

52 questions
17
votes
5 answers

Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE

I am trying to configure Web Deploy 3.5 on Windows Server 2008 R2 Standard with SP1 installed on it. When I try to validate connection using Visual Studio 2013 to publish a website it throws the following error. Could not connect to remote computer…
Mitul
  • 291
  • 1
  • 2
  • 7
13
votes
2 answers

Can the msdeploy agent service open up an attack vector on our servers?

we're evaluating the usage of the msdeploy Web Deployment Agent Service for automatic deployments to our production servers. One thing we can't find out about are potential security impacts. For one thing, our web servers are of course secured…
8
votes
2 answers

IIS7 - Web Deployment Tool - SetParam/SetParamFile to set http and https bindings + Cert

we're currently using the MS Web Deployment Tool to sync a live website and some WebServices from a staging box to two live servers. The staging box hosts the site on any IP on port 17000, whereas the two live servers are load-balanced and have a…
Andras Zoltan
  • 271
  • 3
  • 8
7
votes
2 answers

msi for Web Deploy 3.6 for Hosting Servers... where to find?

On Win2012-R2 The Web Platform Installer offers an option (that I need...): "Web Deploy 3.6 for Hosting Servers" I would like to get this into my dsc script, but cannot find the discrete msi(s) on download.microsoft.com or elsewhere on…
5
votes
1 answer

msdeploy via jenkins & service account: connected but "could not authorize"?

Background / Goal The moving parts: I have a service account, let's call it MyDomain\svcMyService. I have a remote server, let's call it MyDomain\MyServer. I have a Jenkins server, let's call it MyDomain\MyJenkins. In Jenkins, I have a deployment…
SeanKilleen
  • 1,073
  • 8
  • 25
  • 38
5
votes
1 answer

IIS Configuration Management... Alternatives to MSDeploy and Web Farm Framework?

In my experience both IIS Web Farm Framework and MSDeploy is doing a really poor job of managing configurations between servers. While the idea behind the Web Farm Framework and MSDeploy is awesome, I don't think any of those two have done a good…
JohannesH
  • 369
  • 2
  • 5
  • 21
4
votes
1 answer

Moving one website from one server to another using powershell

I've been reading about MS Deploy and writing a small script to export/import one website from one server to another server(IIS8 to IIS8). But I ran into sizing problems and some other errors and the whole process seems to be overkill for one…
4
votes
2 answers

Does MSDEPLOY Produce a Log of its Actions for Audit Purposes?

We just had a situation where someone performed a deployment into the wrong system at the wrong time, yet nobody knows who did it, or when. I looked in the Windows Event Logs on the target web server, and saw nothing that seemed to be from MSDEPLOY.…
John Saunders
  • 425
  • 7
  • 22
3
votes
1 answer

MS Webdeploy V3 encryptPassword correct usage

I have installed MS Webdeploy (Version 3.5) on both my ("old") Server 2003/IIS6 and ("new") Server 2012/IIS8. Currently, I am following the guidelines in the article here, backing up the Target Server before transferring from "old" to "new" server,…
buck1112
  • 131
  • 1
  • 3
3
votes
2 answers

Why can't I deploy with Web Deploy 3.5?

I'm attempting to use Web Deploy 3.5 in a test environment. It fails with a 404, even though Web Deploy 3.5 is installed on the test server and the Web Management Service is started. I have even tried it locally (on the test server) on the…
Blanthor
  • 189
  • 1
  • 4
  • 12
3
votes
1 answer

How can I speed up MSDeploy?

MSDeploy is excruciatingly slow. As in, it has taken our build /deployment process from 3.8 minutes to 15. Is there anyway to speed this up? The publish method we are using is WMSVC.
NotMe
  • 3,772
  • 7
  • 30
  • 43
3
votes
3 answers

MSDeploy fails with "an existing connection was forcibly closed by the remote host"

The following MSDeploy string supplied to the command line results in an error. Can anyone shed any light on this? "C:\Program Files\IIS\Microsoft Web Deploy\\msdeploy.exe" -source:package='D:\dev\Project\obj\BuildConfiguration\Package\Project.zip'…
52d6c6af
  • 434
  • 1
  • 5
  • 14
3
votes
2 answers

Microsoft Web Deployment Service Silent Install

I am trying to script the installation of the web deployment service (WebDeploy_x64_en-US). There is a quiet flag (/quiet), however it does not install the remote management service by default. I did a "WebDeploy_x64_en-US /?" but I can't see any…
Oscar Kuo
  • 243
  • 3
  • 7
2
votes
1 answer

How to avoid msdeploy error ERROR_EXCEEDED_MAX_SITE_CONNECTIONS

I am using msdeploy combined with TeamCity to deploy multiple websites to a test server. I will intermittently get an error when backing up the old deployed site. The error output is: Error Code: ERROR_EXCEEDED_MAX_SITE_CONNECTIONS More Information:…
John Rocha
  • 205
  • 3
  • 8
2
votes
1 answer

Msdeploy, can sync but not delete

I'm trying to setup automatic deployment using msbuild. I succeeded having a msdeploy sync call to successfully publish a zip package created with msbuild. However when I try to perform a msdeploy delete call prior to the sync operation it fails…
Koresh
  • 131
  • 6
1
2 3 4