Questions tagged [webdeploy]

The Web Deployment Tool (Web Deploy) is a command-line tool from Microsoft that is used for synchronizing web site code and content with web servers—and, particularly, IIS. It is also known as Web Deploy, the Web Deployment Tool, and MSDeploy. The name of its command-line executable is msdeploy.exe.

The Web Deployment Tool (Web Deploy) is not only used as a command-line tool, but is also integrated into 's web publishing capabilities as well as e.g. 's Azure App Service Deploy task.

1209 questions
121
votes
3 answers

Error: "The configuration section 'system.webServer/management/delegation' cannot be read because it is missing schema

I am trying to publish a website from my computer to an IIS web server via web deploy. I have 3 servers. All servers have installed the same things (Webdeploy etc.) and the services are started (Web Deployment Agent Service and Web Management…
lucamuh
  • 1,235
  • 2
  • 8
  • 12
87
votes
33 answers

Web deployment task failed. Could not connect...server did not respond

I've been publishing my Lightswitch app using Visual Studio 2012 RC to my localhost (Win 7, SQL 2008 R2, IIS 7.5) just fine. Now I'm trying to publish to a remote server (Win 2008 R2, SQL 2008 R2, IIS 7.5) and I'm having trouble. When I try to…
embedded.kyle
  • 10,976
  • 5
  • 37
  • 56
68
votes
8 answers

"Configure Web Deploy" menu missing from IIS 8 menu

I have been trying to setup Web Deploy on my Windows 2012 server running IIS 8. I have installed Web Deploy using Platform installer but when I right click my website and select deploy, there is no option for Configure Web Deploy Publishing as…
webworm
  • 10,587
  • 33
  • 120
  • 217
66
votes
2 answers

What's the difference between http://*:80 and http://+:80

In learning about Web Deploy I came across some netsh.exe commands that talk about http://+:80 and http://*:80. What do those mean?
kenwarner
  • 28,650
  • 28
  • 130
  • 173
48
votes
3 answers

Publish one web project from solution with msbuild

I'm trying to deploy one of the web projects in my solution to a server. I am using msbuild on TeamCity like so: msbuild MySolution.sln /t:WebSite:Rebuild /p:DeployOnBuild=True /p:PublishProfile=Prod ... However, when I run it, msbuild still tries…
Caleb Jares
  • 6,163
  • 6
  • 56
  • 83
45
votes
4 answers

Missing "Import Web Application" option in Web Deploy 3.6

Using Web Deploy 3.6 both on IIS 8.5 (Windows Server 2012 R2) and IIS 7.5 (Windows 7), I cannot find the Deploy -> "Import Web Application" option. The "Export Web Application" is also missing (see screenshot) I can still see the "Install…
Guy Levy
  • 1,550
  • 2
  • 15
  • 26
43
votes
1 answer

(MSDeploy) Deploying Contents of a Folder to a Remote IIS Server

Is it possible to deploy the contents of a folder (plain Html files) to a specific web application on a remote IIS6/7 server? The following command does not error, but neither does it publish any files to the remote server: msdeploy.exe -verb:sync…
Warren
  • 571
  • 1
  • 4
  • 6
40
votes
6 answers

IIS Web Deploy's "Import/Export Application" Action Missing?

I had a working IIS 7.5 with Web Deploy 3.5 configuration such that the "Import/Export Application" feature in the right hand action pane showed up and functioned properly. Unfortunately I had to remove and reinstall IIS, and now the Import/Export…
Eternal Rubyist
  • 3,445
  • 4
  • 34
  • 51
38
votes
5 answers

msdeploy (Web Deploy) failing with 401 auth issues

I'm trying to get msdeploy installed and set up. I've installed the remote service on the web server, but all my tests are giving me a 401 unauthorised error. The server is Windows 2008 R2. I'm testing a very simple msdeploy command: msdeploy…
Matt Roberts
  • 26,371
  • 31
  • 103
  • 180
36
votes
4 answers

Make sure all *.cshtml files are set to be "Content" for Build Action

A few times when I copy-paste *.cshtml files, Visual Studio for some reason sets Build Action on these files to be "None": This is impossible to detect when you work locally, because the files are present. But when you deploy through WebDeploy,…
trailmax
  • 34,305
  • 22
  • 140
  • 234
36
votes
8 answers

Web Deploy results in ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

We are trying to configure continuous integration with TFS 2012. While queuing a new build, the publish fails with the error: Build FAILED. "C:\src\ProjectName.sln" (default target) (1) -> "C:\src\Website\ProjectName.csproj"…
Alok Dhyani
  • 363
  • 1
  • 3
  • 7
34
votes
2 answers

Web Deploy from Visual Studio 2012 to a remote IIS 8 server

I have a remote Windows 2012 server running IIS 8 from which I am hosting a web application. My local development box is running Visual Studio 2012. Currently I am publishing my app as a web deployment package (.zip), RDP'ing to the production…
QFDev
  • 8,668
  • 14
  • 58
  • 85
32
votes
1 answer

How do I configure MSBuild to use a saved publishProfile for WebDeploy?

I have used Visual Studio to create a publish profile. It saved that information to MyProject.Publish.xml, located in the root of my project directory. I would like the MSBuild task that gets executed on my CI server to use that file as its base…
Jim Geurts
  • 20,189
  • 23
  • 95
  • 116
32
votes
4 answers

Publish Web Deploy using VS Code

In Visual Studio, I use the "publish web" feature to do some web.config transforms, and publish a WebAPI project to our server. The publishing is done using Web Deploy. Now that I'm using Visual Studio Code, I've lost that tooling. But, I'd like to…
AJ Morris
  • 1,099
  • 2
  • 10
  • 19
30
votes
4 answers

Can the web deploy agent run on a port other than 80 on IIS6?

I've got a bit of a challenge with a Windows 2003 machine where I need to run the web deploy agent on a port which isn't 80. By default, MsDepSvc will expose an endpoint at http://[server]/MsDeployAgentService which obviously implicitly listens on…
Troy Hunt
  • 20,345
  • 13
  • 96
  • 151
1
2 3
80 81