Questions tagged [microsoft-web-deploy]

Microsoft Web Deploy is a tool to simplify the migration, management, and deployment of IIS Web servers, applications, and sites. Administrators can use command-line scripting with Web Deploy to synchronize IIS 6.0 and IIS 7.0 servers or to migrate an IIS 6.0 server to IIS 7.0.

Microsoft Web Deploy is a tool to simplify the migration, management, and deployment of IIS Web servers, applications, and sites. Administrators can use command-line scripting with Web Deploy to synchronize IIS 6.0 and IIS 7.0 servers or to migrate an IIS 6.0 server to IIS 7.0.

148 questions
0
votes
0 answers

Webdeploy error: "Error: Source (contentPath) and destination (appHostConfig) are not compatible for the given operation"

By using the example here, we are trying to export a site from 2008 server and import it in 2016 server. Export (in 2008): msdeploy.exe -verb:sync -source:apphostconfig="Default Web Site" -dest:package=c:\dws.zip Import (in 2016): msdeploy.exe…
Ned
  • 1,055
  • 9
  • 34
  • 58
0
votes
1 answer

MSDeploy -setParam option is replacing `"""` with` "&quot"` in the connection string

When deploying app with msdeploy, i am changing connection string with option -setparam, this is changing connection string but replacing " with " i have tried using "^" , it didn't work, if i use "^"" i am getting…
chandra
  • 693
  • 3
  • 8
  • 21
0
votes
3 answers

How to deploy non VS projects to iis web deploy?

I have an Angular application and hosted in IIS. I want to deploy this application using Web Deploy. I know VS solutions (.sln) could be deployed using MSBUILD and Publish Profiles. How to deploy non VS, static applications using web deploy? I'm…
Purushoth
  • 2,673
  • 3
  • 22
  • 36
0
votes
1 answer

VS2017 message: publishing to the selected azure virtual machine has not been enabled

I am looking for help on how to resolve the following informational message when creating a publish profile in visual studio 2017: "publishing to the selected azure virtual machine has not been enabled". I'm trying to set up a new publish profile…
0
votes
0 answers

Web Deployment fails because 'SqlServerSpatial140.dll' file is in use (w3wp.exe)

I have an ASP.NET MVC application and I am trying to use Web Deploy but I am getting the following error: Web Deployment cannot modify the file 'msvcr120.dll' on the destination because it is locked by an external process. On the server, I can…
Ciaran Gallagher
  • 3,895
  • 9
  • 53
  • 97
0
votes
1 answer

Visual Studio 2017 Always Deploying in Development Mode

I have an ASP.NET Core application that I'm attempting to perform web deploy to a server and no matter what build configuration I select in the profile wizard, it always deploys multiple appsettings files as well as the PDB files for the DLLs. …
clockwiseq
  • 4,189
  • 9
  • 38
  • 61
0
votes
0 answers

Webdeploy database failing for SmarterASP host

I'm trying to use webdeploy for my project to publish to SmarterASP host. I get the following error: Error : Web deployment task failed. ((1/30/2018 2:55:34 PM) An error occurred when the request was processed on the remote computer.) 2> …
user568551
  • 337
  • 3
  • 11
0
votes
0 answers

How do I target an already existing application pool in webdeploy package created through Visual Studio

I have already included the settings mentioned in post How do I target an already existing application pool with webdeploy? still when i deploy the WCFService it gets the default application pool of the sites and not the one mentioned in…
Krist
  • 1
  • 2
0
votes
1 answer

MSBuild 2017 Web Deploy Package not being created

I'm trying to create a Web Deploy package on a new MVC application, but no matter what I try I can't create one. I have a ProductionDeploy.pubxml file that looks like this:
joe_coolish
  • 7,201
  • 13
  • 64
  • 111
0
votes
1 answer

Unable to publish ASP.NET Core application with "CreateManifestFile" task could not be loaded

I have an ASP.NET Core app which I can publish using web deploy and pre-configured publishing profile via Visual Studio 2017. Now I need to configure CI and trying to achieve the same from the command line so I installed [.NET Core SDK][1] and…
0
votes
2 answers

ParameterEntry in parameters.xml

I have a parameters.xml file for an IIS hosted web application (Which works with javascript, HTML and CSS files). In order to create a Continues Deployment sequence, I read about creating a publish profile, tokenize it with tokens and on build and…
Amit Ben Ami
  • 548
  • 2
  • 6
  • 21
0
votes
1 answer

MSDeploy "The underlying connection was closed: The connection closed unexpectedly"

I am attempting to publish my web deploy package to azure using msdeploy.exe. It seems that the input parameters required such as /M, /U, /P have been filled in correctly but something is going wrong and the error is not descriptive enough. Has…
0
votes
1 answer

Create site backup on WebDeploy

I want to enable backups on my asp.net mvc site, so on webdeploys I have a clean backup. I followed this guide and ran the BackupScripts.ps1 and then enabled the backup for my site. Then I validated this by running "Get-BackupSettings -SiteName…
webber
  • 1,834
  • 5
  • 24
  • 56
0
votes
1 answer

WebDeploy Rollback Partial Backup

I am using WebDeploy and am running into an issue that I can't seem to get around. First, I will outline my ideas and then get into the issue I am having. Currently, we have many applications running under the the root directory of a website in…
CW2272
  • 183
  • 1
  • 10
0
votes
1 answer

TFS Build stopped running web deploy after .NET core install

I have had webdeploy running for YEARS on a Windows Server 2012 machine with standard MSBuild arguments (like this). Yesterday I installed the Windows (Server Hosting) version of the .NET Core Installer from the .NET Core downloads page. Since then…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689