microsoft-web-deploy

Setting up automatic backups in Web Deploy tool

柔情痞子 提交于 2019-12-04 00:38: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 else I can check. Short Answer: Currently broken in VS 2010 "Web One Click Publish" feature. :'( I spent

ODBC or OleDB database drivers under Azure App Service

自古美人都是妖i 提交于 2019-12-02 04:54:02
问题 I'm investigating what's involved in deploying an ASP.NET MVC web application to Azure as an App Service, using Web Deploy from Visual Studio 2015. The MVC web application uses SQL Server for the identity database in the standard fashion, so I can see how to point that at an Azure-hosted database server. In addition, it has some 'legacy' data in DBF files in the App_Data folder, accessed on my development PC via OLEDB. This scenario is obviously going to fail on deployment because whatever

Web Deploy 3.0 won't work on CI server

蹲街弑〆低调 提交于 2019-11-30 22:41:08
From my local machine to a development server, Web Deploy 3.0 works fine with Visual Studio 2012 publish profiles using the following command: msbuild .\myproj.csproj /verbosity:d /p:DeployOnBuild=true;PublishProfile=Develop;VisualStudioVersion=11.0;AllowUntrustedCertificate=true;username=xx;password=xx When running this same command from the CI server (happens to be Jenkins but this should apply to any), the command finishes successfully, but no web site is ever deployed. When comparing the log output, a large section appears to be skipped by the build server. It is occuring just after the 2

Web Deploy 3.0 won't work on CI server

ぃ、小莉子 提交于 2019-11-30 17:34:00
问题 From my local machine to a development server, Web Deploy 3.0 works fine with Visual Studio 2012 publish profiles using the following command: msbuild .\myproj.csproj /verbosity:d /p:DeployOnBuild=true;PublishProfile=Develop;VisualStudioVersion=11.0;AllowUntrustedCertificate=true;username=xx;password=xx When running this same command from the CI server (happens to be Jenkins but this should apply to any), the command finishes successfully, but no web site is ever deployed. When comparing the

Visual Studio 2013 Premium solution load errors after Update 3

折月煮酒 提交于 2019-11-30 16:06:48
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>Error</type> <source>VisualStudio</source> <description>End package load [Microsoft.VisualStudio.Web

pass parameters to batch file in msdeploy runcommand

折月煮酒 提交于 2019-11-29 14:17:34
I am not able to get this to work call "%MSDeployPath%msdeploy" -verb:sync -source:runCommand='backup.bat param1' -dest:auto,computername=10.xx.xx.xx,username=xxx,password=yyy It gives me: Warning: 'backup.bat' is not recognized as an internal or external command, operable program or batch file. Warning: The process 'C:\Windows\system32\cmd.exe' (command line '') exited with code '0x1'. Total changes: 1 (0 added, 0 deleted, 1 updated, 0 parameters changed, 0 bytes copied) If I remove the param1 and hardcode it inside the .bat, it works, so there's no problem with the bat file, in case you

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

走远了吗. 提交于 2019-11-28 18:30:42
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 Service). On the first server I have no problems on connecting. But the other two servers give me some error when I "Validate Connection" in Visual Studio to the IIS. When I look at the logs on the IIS server, there are my accesses listet with html code 200 (ok). An error ocurred when the request was processed on the remote computer. Filename: MACHINE

How do I target an already existing application pool with webdeploy?

此生再无相见时 提交于 2019-11-28 10:03:16
I am trying to make sure that my app gets deployed to a specific application pool that already exists when using Web Deploy. The application pool should be configurable by the user using the GUI when installing app through IIS Manager or by changing the value in the .setparameters.xml file when installing via the commandline from a web package. Inserting the following parameter entry into my parameters.xml doesn't do the trick. <parameter name="Application Pool" description="Application Pool for this site" tags="iisApp" defaultValue="ASP.NET v4.0"> <parameterEntry kind="providerPath" scope=

pass parameters to batch file in msdeploy runcommand

那年仲夏 提交于 2019-11-28 08:13:12
问题 I am not able to get this to work call "%MSDeployPath%msdeploy" -verb:sync -source:runCommand='backup.bat param1' -dest:auto,computername=10.xx.xx.xx,username=xxx,password=yyy It gives me: Warning: 'backup.bat' is not recognized as an internal or external command, operable program or batch file. Warning: The process 'C:\Windows\system32\cmd.exe' (command line '') exited with code '0x1'. Total changes: 1 (0 added, 0 deleted, 1 updated, 0 parameters changed, 0 bytes copied) If I remove the

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

百般思念 提交于 2019-11-27 11:24:30
问题 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 Service). On the first server I have no problems on connecting. But the other two servers give me some error when I "Validate Connection" in Visual Studio to the IIS. When I look at the logs on the IIS server, there are my accesses listet with html code