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
1
vote
1 answer

MsDeploy 3.5 automatic backup creates zip files lacking the Contents directory

I am using the Web Deploy 3.5 tool to deploy our .NET 4.0 WCF web service (with the help of PackageWeb nuget). We have two "Windows Server 2008-R2" servers that are being used to test drive Web Deploy: QA and Staging. Both servers are configured to…
timmi4sa
  • 594
  • 6
  • 15
1
vote
0 answers

I keep getting this boolean error when trying to publish my ASP.NET MVC app to Windows Azure using Web Deploy

I keep getting this error when I try to publish my app to windows Azure using Web Deploy: Error 1 Expected "$(TransformWebConfigEnabled)" to evaluate to a boolean instead of "0", in condition "@(WebConfigsToTransform)!='' And …
thenextmogul
  • 1,143
  • 2
  • 10
  • 20
1
vote
1 answer

Deploying ASP.NET MVC 4 Application to private staging / preview

I'm building an MVC4 application that is starting to take shape and I want to deploy it privately for staging and preview purposes. I would like only a select few people to be able to access the full application. Most of the application is public,…
parliament
  • 21,544
  • 38
  • 148
  • 238
0
votes
1 answer

Web Deploy and Asp.Net MVC 3 Error (Error to Use Section Beyond Application Level)

I've got a Visual Studio 2010 MVC 3 Project that I'm trying to deploy using the Web Deploy Publish option from within Visual Studio. Whenever I try to deploy I get the following error: It is an error to use a section registered as …
0
votes
0 answers

have different configuration variable value on publish to production

In Program.cs I read a configuration var like this: var builder = WebApplication.CreateBuilder(args); var host = builder.Configuration["host"] In my development I need this var to be http://localhost/myapp but when I publish (using VS2022 publish)…
0
votes
1 answer

How do you deploy ASP.NET Core Web API application to a local server?

The Web API is using .NET 6.0. The "server" is just an old desktop PC running Windows 10 Pro. I'm trying to deploy using the Web Deploy method from Visual Studio 2022. I'm trying to follow this tutorial:…
0
votes
0 answers

How to exclude referenced project files from deploying with Visual Studio Web Deploy?

In visual studio I have a solution with multiple projects My API project references my App project. When deploying API using Visual Studio Web Deploy I see it is including the entire web application: "Updating file…
masteroleary
  • 1,014
  • 2
  • 16
  • 33
0
votes
1 answer

Unreferenced assemblies are not being published to IIS using WebDeploy

I'm using the latest version of Visual Studio 2022 (17.3.0) to publish an ASPNET (NET6) webapp to IIS. I use a plugin system for some of the assemblies and these are not referenced in the main project. I need these assemblies published, so I added…
0
votes
0 answers

Project References a specific version of a nuget package but another gets deployed

I have a dependency linked in my nuget for another package I use. See how the version is 106.13.0. However when i publish via web deploy it actually deploys 107.2.0 which has breaking changes in it cause the app to crash because of it. Why is…
Deckerz
  • 2,606
  • 14
  • 33
0
votes
0 answers

Taking website down with app_offline during web deployment through pubxml file

I have just recently found out that IIS web deploy 3.0 and newer versions do support feature of taking website down while doing a deployment by using this property inside the .pubxml file: …
0
votes
1 answer

Sitecore 9.3 SIA installation fails in part 2

I am trying to install Sitecore 9.3 using SIA on my local instance. Everything works fine with the prerequisites, solr, gets to actually installing Sitecore, but when getting to the part 2 of the installation, I get the following…
Marius Popa
  • 564
  • 1
  • 5
  • 22
0
votes
1 answer

Web Deployment runs with error, but does nothing

I'm running a CI pipeline on Azure DevOps. Part of the release pipeline is deploying a website to our web server (running IIS). We changed hardware recently and did a fresh install of Windows. Of course I also installed the WebDeploy handlers and…
DanielR
  • 684
  • 2
  • 9
  • 20
0
votes
1 answer

why am i seeing the error The app name is not available in wordpress site creation

I am trying to create a WordPress website on azure but when I set the app name an error message of- The app name is not available.help!
0
votes
0 answers

Using Web Deploy to synchronize web application files

We develop a website that our customer is using internally, we host the application in 3 - 10 windows servers for them. If we want to modify the content of our application, we are forced to access all the servers manually and deploy in all of them.…
0
votes
0 answers

Identity works fine on localhost but having errors on server

I am using .Net Core MVC with built-in authorization for individual user accounts. Registration and login works fine when I run it locally but when I uploaded it on Smarterasp and tried to register I got an error saying : An error occurred while…