azure-deployment

Error Creating Webjob schedule

眉间皱痕 提交于 2020-01-21 04:43:06
问题 I have the source code hosted in a TFS 2012 on premise installation. When I try to publish my Azure WebJob to Azure from Visual Studio 2015, I get the following error. Error : An error occurred while creating the WebJob schedule: Response status code does not indicate success: 409 (Conflict). The WebJob does get created under the web application, but it is set to On Demand rather than scheduled. When I open Fiddler to try to troubleshoot this issue, I get the following error. Error ERROR

Web.config altered (drastically) during Azure deployment

断了今生、忘了曾经 提交于 2020-01-01 10:17:34
问题 After deploying to Azure, I kept getting server errors -- the application would not run. So I did a remote desktop into the instance and found that the web.config was completely overhauled...what's going on? I thought web.config was packaged as-is? Instead, the entire configuration has been replaced. When I replace the "new" version with the original, unaltered, correct configuration, my app works as intended. First off, what's going on here? What am I doing wrong? This way I can understand

Web.config altered (drastically) during Azure deployment

爷,独闯天下 提交于 2020-01-01 10:17:06
问题 After deploying to Azure, I kept getting server errors -- the application would not run. So I did a remote desktop into the instance and found that the web.config was completely overhauled...what's going on? I thought web.config was packaged as-is? Instead, the entire configuration has been replaced. When I replace the "new" version with the original, unaltered, correct configuration, my app works as intended. First off, what's going on here? What am I doing wrong? This way I can understand

Deploy Angular 2 with Azure Webapp

只谈情不闲聊 提交于 2019-12-28 05:29:04
问题 How can can I deploy an angular 2 webapp to azure? I guess I need some type of final compilation script. Thanks in advance. 回答1: In order to run angular2 app in azure follow these steps: create a new ng app (with ng cli) : ng new testApp and push to some github repo. create Azure deployment files for Kudu : npm install azure-cli -g azure site deploymentscript --node this will create 2 files .deployment and deploy.cmd edit the deploy.cmd remove the --production from the line :: 3. Install npm

Automating Deployment in Bot Framework (Bot + LUIS+ QnA + Table Storage)

安稳与你 提交于 2019-12-22 06:49:52
问题 We have a bot deployed on Azure but we want to give it to a client so he can deploy it run it using his own resources. We need to give them a Powershell script that magically create and deploy all the resources needed for the bot to work. My bot architecture consists on the following parts: Bot's Logic (ASP.NET Web API Project deployed over an Azure App Service ) LUIS Model (published over a Cognitive Services Account ) QnA Service Knowledge Base done with QnA Maker ( published directly from

Include TypeScript files in azure git deploy

主宰稳场 提交于 2019-12-19 07:24:59
问题 I'm trying to include TypeScript files in my automatic git deploy so I can showcase code for a framework I'm building. However, whenever I deploy to azurewebsites the deployments do not include the TypeScript files. Site in question: http://endgate-samples.azurewebsites.net/Samples/AnimatedSprites/ What I've tried: Copy all TypeScript files to output folder by setting TypeScript properties to "Copy Always". Issue with this is that I need to change the references to all the files (do not want

Include TypeScript files in azure git deploy

六月ゝ 毕业季﹏ 提交于 2019-12-19 07:24:12
问题 I'm trying to include TypeScript files in my automatic git deploy so I can showcase code for a framework I'm building. However, whenever I deploy to azurewebsites the deployments do not include the TypeScript files. Site in question: http://endgate-samples.azurewebsites.net/Samples/AnimatedSprites/ What I've tried: Copy all TypeScript files to output folder by setting TypeScript properties to "Copy Always". Issue with this is that I need to change the references to all the files (do not want

Static IP address for Role in Windows Azure?

[亡魂溺海] 提交于 2019-12-18 12:28:43
问题 Does anyone knows if obtaining a static IP address for a Web or Worker Role on Windows Azure is possible (possibly only in private beta)? 回答1: A few years later, Azure now lets you reserve IP addresses for VMs and cloud services (Web and Worker roles). However, it is only accessible from PowerShell for the time being (this will change in the future, apparently). The first five static IP addresses are free. To create an IP you will need to make sure you have the latest version of the Azure

Azure TFS deployment error “Invalid enum value 'FailedStartingRole' cannot be deserialized into type”

别说谁变了你拦得住时间么 提交于 2019-12-13 16:12:54
问题 I tried to deploy from TFS, but receiving the error: Exception Message: Invalid enum value 'FailedStartingRole' cannot be deserialized into type 'Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.InstanceStatus'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute. (type SerializationException) Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext

Include node modules in azure deployment via VSTS

隐身守侯 提交于 2019-12-13 13:28:17
问题 I have an azure app service which I need to deploy through as part of a release definition in VSTS. To provide some context, it is a ASP.NET MVC app and uses Angular 2. It also has a package.json file. I have a VSTS build definition which includes a 'npm install' task to install all dependencies from package.json, so that I don't need to check in all the node modules. At the end of the build the files are dropped to a share without the node_modules folder. I have a corresponding release