azure-web-roles

CacheInstaller.exe has stopped working

僤鯓⒐⒋嵵緔 提交于 2019-12-12 00:35:25
问题 I am having below mentioned issue when I am running Asp.Net MVC 2 project on windows Azure emulator (dev environment) I have installed Windows Azure SDK for .NET - October 2012 version and I am using cache feature on my system. With above error Below one is also comming. How to get rid of this ? 回答1: Maybe I have an stupid solution, but that works with me. When I begin to recieve the message "CacheInstaller.exe has stopped working", I do the following: 1) Stop the execution. 2) Go to the Role

Can I automatically update a live site after each commit using TFVC and Azure?

烈酒焚心 提交于 2019-12-11 19:41:18
问题 For each commit I want to have a live version with the committed code using TFVC and Windows Azure. If a developer commits something I want to be able to test it on dev.mysite.com. How can I setup this using azure and TFVC? 回答1: See below URLs for details on how to do that: http://www.visualstudio.com/en-us/get-started/deploy-to-azure-vs -- Easier option http://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/ 来源: https://stackoverflow.com/questions/20791730/can-i

azure table : Duplicate partition key results in (409) conflict

点点圈 提交于 2019-12-11 16:59:18
问题 I am trying to insert multiple rows into the Azure table service. As far as this article goes, I have understood the partition key to be able to store duplicates. However, while following this article, when I try to insert a duplicate partition key I get an error: The remote server returned an error: (409) Conflict. What could be wrong in my code? I am following it as per the second article; Or is my understanding incorrect? Also, the first article says that the row key is supposed to act as

How to run Azure cmdlets from a powershell script in a published Web Role VS2012 project

别来无恙 提交于 2019-12-11 13:42:25
问题 I have a VS 2012 MVC 4 web role project and I successfully call a powershell script from the bin directory of the role, after I run Set-ExecutionPolicy Unrestricted from a startup cmd. The script contains some azure cmdlets and when I run the project locally the script works perfectly. However when I publish the project on Azure, the same azure cmdlets in the script do not run. For example: param([string]$websiteName="itudkcloudqwerdfs", [string]$serverLogin="user", [string]$serverPass=

install Application Initialization in Azure Web Role hosting multiple web sites

谁都会走 提交于 2019-12-11 12:06:30
问题 i have azure role hosted as cloud service, i am trying to install the application initialization as suggested in below link: http://fabriccontroller.net/blog/posts/iis-8-0-application-initialization-module-in-a-windows-azure-web-role but how will all my sites in this single WebRole will remain warmed up? I have followed up the steps told in above link. But not sure how it will managed with multiple websites in single role. 来源: https://stackoverflow.com/questions/22374886/install-application

If I deploy two azure web roles do I need to set my machine key?

北战南征 提交于 2019-12-11 11:23:04
问题 We're using asp.net mvc forms authentication and I remember in other web farm scenarios it's a good idea to make sure the machine keys match between servers. I'm about to sale the same web role from 1 to 2 and I'm curious if this step is necessary for Azure or does it take care of that? Thanks 回答1: Each role should share the same machine key explicitly. Azure only does this for you when you scale multiple instances of 1 web role, not add an additional separate role. For example we had to do

Connecting existing asp.net application to azure sql server vm without SDK

余生颓废 提交于 2019-12-11 10:53:29
问题 I need to be moving an existing Asp.NET application to Azure, where I've also set up a virtual machine hosting sql server. Now, I obviously don't want to keep deploying all the time, and I haven't even configured Azure for the application to exist within yet. I only want to make sure I can get the application to connect to the sql server instance on the virtual machine. I'm a complete newbie when it comes to Azure. So I've absolutely no idea what I'm doing, but I'm using tutorials and good ol

Web Role local storage URI

拜拜、爱过 提交于 2019-12-11 10:32:46
问题 I have a local storage folder, called TempStore , set up on my Web Role instances. Is it possible to expose files as a URI from my local storage? E.g: http://myapplication.cloudapp.net/TempStore/helloworld.jpg I understand that I could use blobs for this, but I would prefer to use local storage in this case. 回答1: There is. However I really do not understand the reason for doing this? The only reason I see is some misunderstanding or not fully understanding the capabilities of the Windows

Azure websites complaining Role environment . FAILED TO INITIALIZE

痴心易碎 提交于 2019-12-11 10:06:56
问题 I'm having headaches with Azure website deployment at the moment, someone help please - it has taken me 2 days trying to figure out what exactly has gone wrong: The website is ASP.NET MVC using Azure Storage for storing web pages (custom VirtualPathProvider is implemented) It works perfectly on my local PC however once I deploy it to Azure website, it hangs forever - and when checking the diagnoiss (XXX.scm.azurewebsites.net) there are full loads of errors complaining "Role environment .

Azure Cloud Service continuous integration with existing ccproj profile

烂漫一生 提交于 2019-12-11 09:49:43
问题 How do I get continuous integration to work using publish settings from a profile in our Cloud Project? When using the default TfvcContinuousDeploymentTemplate.12.xaml , the publish ignores some of my profile settings. It doesn't use the correct storage account and always publishes to the Staging environment. Here are the settings for my Development publish profile: Here is the current state of our build definition: "Path to Deployment Settings" sounds like it would be correct but it is only