Azure worker role won't start

4

I'm in alpha w/ a product using a backend worker role. The worker role worked about 2 weeks ago but recently I repushed some new stuff and everything seems to be OK except the worker role is not doing it's job (monitoring a message queue)...

I RDP'ed into the worker role instance and found the following event in the machine's event log:

Session "MA_ETWSESSION_RD00155D47CFD4_QueueWorkerRole_IN_0" failed to start with the following error: 0xC0000035

But otherwise everything is fine (seemingly).

The AppAgentRuntime log even says everything is OK:

[00001320:00000896, 2013/02/28, 21:05:21.743, 00040000] Role 847e925f39f044759cbcdb162c818553.QueueWorkerRole_IN_0 has stabilized.

I have wrapped the main parts of the worker role w/ exception handling trying to grab some mystery error and I have no clue what's doing this...

c#
azure
azure-worker-roles
asked on Stack Overflow Feb 28, 2013 by Rikon • edited Feb 28, 2013 by Rikon

1 Answer

0
  • Try to re-deploy your service with IntelliTrace enabled.
  • Don't just log for your Run method, also trace anything throwing from your OnStart and OnStop method.
  • Beware the static members or constructors you may have added to your class - they could fail your object instance to be created even before you get to touch OnStart method.

Other things that can mess up your startup: * Do you have all the dependencies required to load your assembly deployed to the role instance? * Have you disabled strong name verification on your dev machine and forgot to sign your assemblies when publishing?

answered on Stack Overflow Oct 4, 2013 by David Burg

User contributions licensed under CC BY-SA 3.0