Role instances are taking longer than expected to start - Is there a new solution to this problem?

Gordon picture Gordon · Aug 13, 2011 · Viewed 8.6k times · Source

I've rebooted my computer 50-100 times this week. I find I can start / deploy locally usually 3-4 times before getting this message:

"Windows Azure Tools for Microsoft Visual Studio

Role instances are taking longer than expected to start. Do you want to continue waiting?"

The solution to get me going again is rebooting.

I know it's not a new problem. I recall that MS agreed it was a problem but does anyone have a solution that does not involve going back to the Hosted Web Core. Seems like this problem is something a lot of people get and it's been around without a resolution (that I know of) for 4-5 months or more.

Now I'll get back to doing another reboot !!!!!

Answer

Rob Potter picture Rob Potter · Sep 1, 2011

I had this same problem, but could eventually get it to start after dismissing 2 or 3 of the

"Role instances are taking longer than expected to start"

message boxes.

I then found that the problem seemed to be that the Diagnostics were enabled and the storage account was set to something invalid in the Role configuration (.cscfg).
Solved it by going into the UI and disabling diagnostics, I found it would run ok.

To get the UI, right click on the created Role inside the Roles folder in the Solution Explorer.

enter image description here

Then I re-enabled Diagnostics and it auto-populated "UseDevelopmentStorage=true", and this seems to work fine.