Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade to Azure 2.2 SDK is causing roles to fail

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.

like image 324
Jon Leach Avatar asked Oct 31 '13 21:10

Jon Leach


1 Answers

Needed to manually change the references.

like image 96
Jon Leach Avatar answered Oct 14 '22 15:10

Jon Leach