azure-compute-emulator

Azure Emulator stuck

元气小坏坏 提交于 2020-01-04 13:38:29
问题 I'm working on azure WorkerRole project in VS2015 , SDK 2.9 . The role works good in cloud, but when i'm trying to run it locally with FullEmulator, role can't be started: [fabric] Role Instance: deployment29(116).MyComp.Engine.Deploy.MyProject.Engine.Azure.0 [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Destroyed [fabric] Role state Busy looks like role is

Strange behavior of Windows Azure Compute Emulator (SDK 1.8) with multiple role instances on a clean machine with VS2012 but WITHOUT VS2010

末鹿安然 提交于 2019-12-19 09:21:26
问题 Have you ever tried to run a hosted service in the windows azure emulator with full IIS and multiple role instances? Some days ago I noticed that only one of the multiple instances of a web role is startet in IIS at a time. The following screenshot illustrates the behavior and the message box in front of the screenshot shows the reason for this behavior. The message box appears on trying to start one of the stopped websites in the IIS Manager. Screenshot: IIS with stopped Websites The sample

Azure compute emulator stopped working after upgrade to version 2.8, prerequisite error

人盡茶涼 提交于 2019-12-14 02:32:53
问题 I upgraded my azure sdk to version 2.8 from 2.5 today and have not been able to get the compute emulator going ever since. I receive a popup indicating "The system is missing a prerequisite to execute the service." When I look at the output screen, i see the following message scrolling down the screen: "Microsoft Azure Tools: Error: The installed Microsoft Azure Compute Emulator does not support the role binaries. Please install the latest Microsoft Azure Compute Emulator and try again.

Error in Azure Emulator when creating Performance Counters

a 夏天 提交于 2019-12-04 04:28:19
问题 I am trying to measure processor load on my Azure project and when running the emulator I get errors in the Emulator console like this one: [MonAgentHost] Error: MA EVENT: 2012-10-10T12:15:06.982Z [MonAgentHost] Error: 2 [MonAgentHost] Error: 9028 [MonAgentHost] Error: 8168 [MonAgentHost] Error: SysCounterListener.dll [MonAgentHost] Error: 0 [MonAgentHost] Error: b9eb57e3-62d5-49a5-b395-abc3bd5 [MonAgentHost] Error: liscounter.cpp [MonAgentHost] Error: SystemCounter::AddCounter [MonAgentHost]

Azure DataCache Problems with Windows Azure Emulator but no error generated. Application just hangs

梦想的初衷 提交于 2019-12-02 08:36:55
问题 I have an existing mvc4 web project which I wanted to deploy to a cloud service and to start using the azure data caching. I have added the windows azure caching nuget packages to two projects in the solution, the web project and a class library project both of which will need these. I then add a web role for the web project, and I have updated the datacache identifier reference in the web.config to point to the web role which is enabled for co located caching. I can run this locally on the

Error in Azure Emulator when creating Performance Counters

我怕爱的太早我们不能终老 提交于 2019-12-01 21:14:46
I am trying to measure processor load on my Azure project and when running the emulator I get errors in the Emulator console like this one: [MonAgentHost] Error: MA EVENT: 2012-10-10T12:15:06.982Z [MonAgentHost] Error: 2 [MonAgentHost] Error: 9028 [MonAgentHost] Error: 8168 [MonAgentHost] Error: SysCounterListener.dll [MonAgentHost] Error: 0 [MonAgentHost] Error: b9eb57e3-62d5-49a5-b395-abc3bd5 [MonAgentHost] Error: liscounter.cpp [MonAgentHost] Error: SystemCounter::AddCounter [MonAgentHost] Error: 660 [MonAgentHost] Error: ffffffffc0000bb9 [MonAgentHost] Error: 0 [MonAgentHost] Error:

Azure Functions - can't be invoked from Azure WebJobs SDK

孤人 提交于 2019-12-01 06:15:44
So I've been trying to create a simple azure function, that would be an http trigger "CreateUser". I did an other http trigger to simplify what's wrong, it looks fairly simple : using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; namespace TutoTableAzureTemplate { public static class TestTrigger { [FunctionName("TestTrigger")] public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)

Azure Functions - can't be invoked from Azure WebJobs SDK

一曲冷凌霜 提交于 2019-12-01 04:38:21
问题 So I've been trying to create a simple azure function, that would be an http trigger "CreateUser". I did an other http trigger to simplify what's wrong, it looks fairly simple : using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; namespace TutoTableAzureTemplate { public static class TestTrigger { [FunctionName("TestTrigger")] public static async Task

azure role not starting after windows update 10February

ⅰ亾dé卋堺 提交于 2019-11-29 13:12:42
After installation of windows update on 10th February 2016, the azure roles are not starting in emulator (Full/Express). The logs show below [00005748:00006624, 2016/02/14, 12:03:24.391, FATAL] Role process exited with exit code of -2147024809 [00005748:00006624, 2016/02/14, 12:03:24.397, INFO ] Stopping role: deployment25(0).AzureCloudService2.WebRole1_IN_0. Notify: False Recycle: False StopTimeout: 30 [00005748:00006624, 2016/02/14, 12:03:24.398, IMPRT] State of deployment25(0).AzureCloudService2.WebRole1_IN_0 changed from RoleStateBusy to RoleStateStopping. [00005748:00006624, 2016/02/14,

How can I determine if I am running locally on my PC or on the cloud?

跟風遠走 提交于 2019-11-29 12:25:51
问题 Using MVC3 and I'd like to determine if I am running locally or deployed to the cloud? 回答1: This is what I use public static class Azure { private static bool m_IsRunningAzure = GetIsRunningInAzure(); private static bool GetIsRunningInAzure() { Guid guidId; if (RoleEnvironment.IsAvailable && Guid.TryParse(RoleEnvironment.DeploymentId, out guidId)) return true; return false; } public static bool IsRunningInAzure() { return m_IsRunningAzure; } private static bool m_IsRunningAzureOrDevFabric =