What causes the Azure SDK 2.4 to cause the "Cases of a role more than expected" error?

I get the notorious "Cases take longer than expected" error when I try to run an Azure project with one work role. It used to work before, it started failing for no obvious reason between two debugging sessions.

I tried to create a completely new solution with the new Azure project and the default Worker role, which also does not start.

I found many other SO questions and forum posts discussing this topic, but most of them are out of date, and none of their suggestions work.

I did not find a relevant message in the event logs, the only error message I found was in C:\Users\username\AppData\Local\dftmp\EmulatorRuntimeLogs\ErrorRuntime.log, it contains a lot of lines like this:

[00006892:00014472, 2014/10/16, 18:40:45.247, ERROR] Failed to create FSRM quota manager instance.

The output for a role in Compute Emulator displays the following log indefinitely:

[fabric] Role Instance: deployment24(4).MySolution.MyProject.MySolution.MyProject.0
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Busy
...

Do you have any suggestions that could lead to this error with the latest Azure SDK version 2.4?

+4
source share
3 answers

I solved this by removing Startup Tasks from ServiceDefinition.csdef

+10
source

Change the file taskType="background"toServiceDefinition.csdef

<Task taskType="background" executionContext="elevated" commandLine="sample.cmd">
+4
source

, .

  • Azure Cloud
  • "".
  • "" " "
  • In the Local Development Server section, select Use IIS Web Server

enter image description here

+3
source

All Articles