Upgrade to Azure 2.2 SDK is causing roles to fail

Posted by Jon Leach on Stack Overflow See other posts from Stack Overflow or by Jon Leach
Published on 2013-10-31T21:50:07Z Indexed on 2013/10/31 21:53 UTC
Read the original article Hit count: 633

Filed under:
|

I have 3 worker roles and a web role in my project and I upgraded it to the new 2.2 SDK (required in VS2013). Ever since the upgrade, all of the worker roles are failing and they instantly recycle as soon as they're started.

When the roles start, I'm getting these messages:

Microsoft.WindowsAzure.ServiceRuntime Information: 200 : Role entrypoint . CALLING                     OnStart()
Microsoft.WindowsAzure.ServiceRuntime Information: 202 : Role entrypoint . COMPLETED OnStart()
The thread 0x441c has exited with code 259 (0x103).
Microsoft.WindowsAzure.ServiceRuntime Information: 203 : Role entrypoint . CALLING   Run()
Microsoft.WindowsAzure.ServiceRuntime Warning: 204 : Role entrypoint . COMPLETED Run()  ==> ROLE RECYCLING INITIATED
Microsoft.WindowsAzure.ServiceRuntime Information: 503 : Role instance recycling is starting
The thread 0x2684 has exited with code 259 (0x103)

Two things draw my attention:

  1. I've started to see a bunch of errors "Cannot find or open the PDB file." But I don't know that this is directly relevant.
  2. I'm using VS 2013 and while the project lists the SDK as 2.2, the references within the roles are the 2.1 versions. Do I need to upgrade the components? Why wouldn't the project upgrade these automatically when I pulled the project into VS as it only support 2.2?

Any thoughts on how to attach this are appreciated.

© Stack Overflow or respective owner

Related posts about Azure

Related posts about visual-studio-2013