webdeploy

Web Deploy Error with Azure

守給你的承諾、 提交于 2019-12-24 21:15:21
问题 I'm trying to deploy my web app to Azure using this method, but periodically, i get this error. Any ideas? I rebooted the instance, still happens. Start Web Deploy Publish the Application/package to https://xxx.cloudapp.net:8172/MsDeploy.axd?site=myapp.Web_IN_0_myapp.Web ... Updating setAcl (myapp.Web_IN_0_myapp.Web). Updating setAcl (myapp.Web_IN_0_myapp.Web). Updating filePath (myapp.Web_IN_0_myapp.Web\bin\myapp.Web.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web

502 - Web server received an invalid response while acting as a gateway or proxy server

若如初见. 提交于 2019-12-24 04:13:05
问题 When I publish my app to a Azure Website I get the error on the title and nothing works. It's not temporary. I researched and looks like it's not related to the problems people have that error have. I enabled logging but haven't got a much significat otuput. The log says: 2014-01-15 10:56:26 ~1MANDOOSYSTEM GET /diagnostics/settings X-ARR-LOG-ID=5632dfdf-9cda-482a-a1d8-e0a9944c8e51 443 - 70.37.162.148 Azure-Portal/3.14.00298.7 - - mandoosystem.scm.azurewebsites.net 200 0 0 463 939 1718 Ideas?

The site DLL seems to be intermittently locked when publishing

女生的网名这么多〃 提交于 2019-12-23 15:06:06
问题 I try to deploy my .net core site to Azure via Publish context menu in VS2017 and occasionally (about 1 in 3 deploys), I get the error below. Web deployment task failed. (Web Deploy cannot modify the file 'MyCoreWebSite.dll' on the destination because it is locked by an external process. In order to allow the publish operation to succeed, you may need to either restart your application to release the lock, or use the AppOffline rule handler for .Net applications on your next publish attempt.

MSDeploy/WebDeploy - Deploy Composite Database Project via DacPac

喜夏-厌秋 提交于 2019-12-23 11:55:05
问题 We have a database project with views which join to tables in another database. The other database is in a different solution. This failed to build until we added a reference to a DacPac from the other database. I believe these views are considered “Composite Database Objects” because they reference objects not included as scripts in the database but rather referenced in the DacPac. We can successfully deploy this project from the VS to the target database. Now we are trying to automate the

How to deploy an ASP.NET MVC application on build using MSBuild in Visual Studio 2015?

梦想的初衷 提交于 2019-12-23 05:42:25
问题 I want the application to be deployed to a local folder when I build the project. This should produce a zip file that I can use to import in IIS. How can I achieve this? 回答1: Command line msbuild yoursolutionfile.sln /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:PackageLocation="yourpath\yourfilename.zip" DeployOnBuild tells msbuild to deploy (to package location) WebPublishMethod Creates a deployment package. You can choose other options for web publish

Error 502.5 - Process Failure ASP.NET Core 1.1

谁说胖子不能爱 提交于 2019-12-23 04:47:41
问题 I'm getting this error when deploying my ASP.NET Core web app. I have done the following: Enable the Web Server (IIS) role and establish role services. Install the .NET Core Windows Server Hosting bundle v2.0.3 Restart the system or execute net stop was /y followed by net start w3svc Here is my csproj file: <Project Sdk="Microsoft.NET.Sdk.Web" ToolsVersion="15.0"> <PropertyGroup> <TargetFramework>netcoreapp1.1</TargetFramework> <PreserveCompilationContext>true</PreserveCompilationContext>

Access Denied when try to use Web deploy

一世执手 提交于 2019-12-23 02:45:10
问题 I have been following Standard Environments for Automated Deployment and Testing and I have run into some errors. I have two servers, one Windows Server 2008 R2 and another Windows Server 2012 . On both I've installed Web Deploy 3 and the service Web Deployment Agent Service is running on both machines. I have the service account in my domain and I added the account on both machines to Administrators group. I also used this account for the Build and Test controller and agent. The 2008 server

MSDeploy Package has Missing Files

谁都会走 提交于 2019-12-22 11:33:13
问题 I'm using MSBuild to build a web application project and adding parameters to create the package file. All of that is good. I get two folders in the _PublishedWebSites output: AppName AppName_Package In the ApplicationName folder, the entire site is there and I can simply copy this folder over to the website and it will run. In the Package folder I've got the expected 5 files: AppName.deploy.cmd AppName.-readme.txt AppName.SetParameters.xml AppName.SourceManifest.xml AppName.zip When

Using _bin_deployableAssemblies with Visual Studio 2012

允我心安 提交于 2019-12-22 08:44:23
问题 With Visual Studio 2010 I used the _bin_deployableAssemblies folder to include third party assemblies which should be included in the bin folder on build and web deploy. It's about those third party assemblies which are needed for the website, but you don't want to reference them. This worked awesome... Now with Visual Studio 2012 it stopped working... Well, a part of it stopped working. When I build, the contents of the _bin_deployableAssemblies folder are copied to the bin folder. But when

The command “dotnet bundle” exited with code 1 - VS 2017 Publish ASP.NET Core Web API

霸气de小男生 提交于 2019-12-22 06:29:51
问题 I'm getting the following error when trying to publish my Web API to a server: The command "dotnet bundle" exited with code 1 This is the publish screen: This is the error from output: Can anyone help me? 回答1: Make sure you have added the DotNetCliToolReference in your WebApi project. I'm assuming VS2017 csproj file. <ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" /> <DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.2