microsoft-web-deploy

MsDeploy 3.5 automatic backup creates zip files lacking the Contents directory

我怕爱的太早我们不能终老 提交于 2021-02-19 08:12:40
问题 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 create up to 20 automatic backups (per application) during deployments. For some reason our Staging server generates backup ZIP files that only contain two files: archive.xml systemInfo.xml The "Contents" directory is not there and there is no

MSDeploy throwing MissingMethodException on EventWriteVerbose when trying to deploy package to IIS

半世苍凉 提交于 2021-01-27 19:42:28
问题 I am using Jenkins to build and package an ASP.NET project. Everything works well up until I attempt to run the <ProjectName>.deploy.cmd file that is output with the packaging process This error is output whether I run the deploy.cmd or run msdeploy.exe directly The missing method, apparently, is Microsoft.Web.Deployment.Tracing.WebDeployEventWriter.EventWriteVerbose(System.String, System.String, System.String) The full output is: Unhandled Exception: System.MissingMethodException: Method not

Visual Studio 2013 Premium solution load errors after Update 3

痴心易碎 提交于 2020-01-10 20:03:10
问题 I installed VS2013Update 3 and now I get errors when opening an solution: The 'Microsoft.VisualStudio.Web.Publish.WebPublishPackage,MircosoftVisualStudio.Web.Publish' package did not load correctly. And The 'ScaffoldungVSPackage' package did not load correctly. The outcome of this is that I can't open the Publish-Dialog and there are no templates when creating a new Webproject. In the activitylog are following errors: <entry> <record>447</record> <time>2014/08/05 14:27:31.859</time> <type

Visual Studio 2015 exception SqlScriptPreprocessSqlVariables when running web publish wizard with update database

六眼飞鱼酱① 提交于 2020-01-02 07:46:31
问题 Update: I have reproduced the same Error with a new empty VS2015 WebApplication project. Added a connectionString to a new empty SQL database Added a sql-script file to the solution and selected publish... in the publish wizard. Example of web Publish wizard with included Update script. I will get the same error building a web deployment package or web deploy . Original post: The "SqlScriptPreprocessSqlVariables" task failed unexpectedly. This happens when I use publishing wizard or MSBuild

Visual Studio Web Deployment - update publish profile to “Precompile during publishing”

时间秒杀一切 提交于 2019-12-23 04:21:16
问题 I currently have a website that is run on Windows Server 2012 R2. I have deployed my site to a specific folder on the server without using the "precompile during publishing" option. The website works and runs fine. However, in order to improve the performance of my site, I want to update my publish profile to precompile during publishing. Will I need to delete the existing website files on the server? And what is the best way/practices of going about with this change in order not to break

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

Visual Studio Web Deploy Error - “NormalizeServiceUrl”

你说的曾经没有我的故事 提交于 2019-12-11 11:25:42
问题 I am setting up a new dev server, and moving some old projects to this. I opened up one of the older web projects. Setup the publish settings to use Web Deploy just like I have done for many projects. However, on this one I am getting the following error when clicking the preview. Error 3 The "NormalizeServiceUrl" task was not given a value for the required parameter "ServiceUrl". If I try to publish with out preview, I get an additional error. Web Deploy publish/package validating error:

ERROR_USER_UNAUTHORIZED when deploy to IIS 7.5 when using IIS manager user

别说谁变了你拦得住时间么 提交于 2019-12-10 22:57:27
问题 I'm trying to deploy from a teamcity server to my iis server but I get unauthorized when I use an IIS Manager user set up in IIS. If I use a Windows account it works just fine. Am I missing something? I thought it was enough to create an IIS Manager User in ISS, or do I have to add that user to the domain or server I'm trying to deploy to? In the Management Service Delegation I have added two rules, it could probably be combined into one. The first rule is for contentPath and iisApp and the

MSDeploy Package has Missing Files

 ̄綄美尐妖づ 提交于 2019-12-05 22:45:48
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 deploying the package however, the web application dll ( AppName.dll ) is missing, as are a few other important

Setting up automatic backups in Web Deploy tool

对着背影说爱祢 提交于 2019-12-05 14:08:41
问题 I've been struggling to setup automatic backup, but seems to have hit a wall. Following this document, and using Powershell, I've enabled the backups ( TurnOn-Backups -On $true , then Configure-Backups -SiteName "test1" -Enabled $true ; so Get-BackupSettings -SiteName "test1" tells me the backup is enabled). However, whenever I do a publish from Visual Studio - no backup is created. I've set the backup path, the permissions are set to allow everything for everyone.. so I have no idea what