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
1
vote
2 answers

msdeploy syncing issues

I have 4 Windows 2008 R2 servers. 3 are IIS 7.5 web servers and 1 is a sql server / shared file server. I configured the first web server exactly as I wanted it, then used this msdeploy command to sync the config to the other 2 web servers. msdeploy…
1
vote
1 answer

Using MSDeploy to set ACLs on the system temp directory

I'm trying to grant read and write permissions to the system Temp location to the IIS_IUSRS group. There is a system variable declared %TEMP%; but unfortunately there is also a user variable by the same name. As a result, when I run the…
AlanEden
  • 11
  • 1
1
vote
4 answers

Web Deploy to IIS7 fails with 401 (Unauthorized)

We have IIS7 running on Windows Web Server 2008 R2. It's set up to support Web Deploy. It worked fine when we used the default Administrator account. We recently disabled this account (for security reasons) and are now trying to deploy using another…
Trex
  • 11
  • 1
  • 3
1
vote
2 answers

Allow domain user to publish website with mswebdeploy on IIS 7.5

I'm trying to configure an IIS 7.5 server to allow remote deployment by a domain user account. I can achieve this if I create either a local account with Administrator privileges, or use a domain account with Administrator privileges, but for a…
growse
  • 8,020
  • 13
  • 74
  • 115
1
vote
0 answers

Consolidate 2 IIS6 webservers into one IIS7 webserver

I'm trying to consolidate 2 webservers with different sites within into a single new IIS7 web server. I thought I would be able to do it using msdeploy tool. It doesn't seem to allow multiple sources. There is anyway to achieve this?
Claudio Redi
  • 121
  • 7
1
vote
2 answers

How to restart the IIS application pool remotely via command line and MSDeploy

I am creating GitHub actions to automatically deploy my website. I have everything working other than the ability to remotely restart the application pool. From what I've read, I need to stop the application pool, publish the site, start the…
Dave
  • 160
  • 1
  • 2
  • 14
1
vote
0 answers

Web management service not start on reboot

Server 2012R2 with management service. Whe reboot the server, the service not start automatically. If i start it manually, it start successfull. There are these events on event viewer: Service Control Manager - Event 7024 The Web Management Service…
Mos242
  • 11
  • 1
  • 3
0
votes
1 answer

ERROR: The version of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0)

First I'll start by saying that this question is similar to this question: Cannot use msdeploy to sync 2 websites - ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH. Actually my use case is different... but despite that I still tried to get the big picture…
0
votes
1 answer

How to update machineConfig64 .Net Framework-configuration provider

I'm trying to synchronize an IIS Site from an old Windows Server 2008 R2 with IIS7.5 to a new Windows Server 2012 R2 with IIS8.5. I'm doing that with the WDeploySnapin3.0 PowerShell Snapin now I got the following error: Sync-WDSite : the versions of…
SimonS
  • 785
  • 4
  • 14
  • 29
0
votes
1 answer

MSDeploy with Jenkins

So I'm setting up a Jenkins job that will build and deploy an application that I have. Building it is easy, but I'm having issues deploying it. Here is my build command: "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"…
Chiggins
  • 811
  • 8
  • 21
  • 37
0
votes
1 answer

Web deploy fails on Azure Pack Websites v2 rollup 7

I have setup an Azure Pack Website cloud, and almost everything is working (creating websites, publishing by git, tenant etc...). Except Web Deploy and creating an application from the marketplace. I figured the two are linked since looking in the…
Julien Lebot
  • 101
  • 3
0
votes
0 answers

Website deployment to China

I'm trying to deploy a website to Azure China. I just downloaded the publish profile from my Azure China account and use Visual Studio to deploy via Web Deploy using the profile, stock standard. It used to work. But most of the time I'm getting an…
Sam7
  • 101
  • 1
0
votes
2 answers

IIS 8 - Application Initialization and Deployment of website without downtime

I have set up App Initialization on for a large website, however there is still quite a long wait before the website is initialized before users can access it. The site in question is quote big and compilation of the views is the issue. Is there…
izip
  • 221
  • 1
  • 3
  • 8
0
votes
1 answer

Web deploy (msdeploy), syncing everything but sites and pools (but include siteDefaults)

Today I do the following to sync two webservers but skip all site configuration: msdeploy -verb:sync -source:webServer -dest:webServer,computerName=web25:8080 -skip:objectName=section,absolutePath=system.applicationHost/sites …
jishi
  • 868
  • 2
  • 11
  • 25
0
votes
1 answer

Setting write permissions for folders while creating a package with MSDeploy

I'm using MSDeploy to create an artefact as a build step in NAnt. This particular build step is called on successful compilation. The artefact is then used to for deployment. Here is the step specified in my build file.
bala_88
  • 101
  • 1