Cloud Services roles recycling with the error “System.IO.FileLoadException: Could not load file or assembly”

You may be facing an issue where after a deploy, your Cloud Service role gets stuck in “starting” or “recycling” states. In this case, as the initial troubleshooting steps, we have to remote access the instance, start checking the logs and try to find out evidences about what can be causing the issue. For an…


Could not load file or assembly ‘Microsoft.WindowsAzure.ServiceRuntime, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified

Could not load file or assembly exception for an Web/Worker Role hosted on Windows Azure PaaS deployment is very common and this kind of error messages are noticed from the inception of Windows Azure PaaS Roles. The common reason for this this exception is due to missing binaries from the Guest VM, where the application…


Windows Azure Role recycling due to setting more than 256 character in Environmental Variable through Azure Start-up task.

Couple weeks before, while investigation an issue related to Windows Azure Role recycling, I found that issue was caused due to setting the environmental variable with more than 256 character from a start-up task. I am also coming from a development background, and I am pretty much aware that, in lot of scenarios developer audience…


Web Role with MVC4 Just Recycles on Windows Azure

   Web Role with MVC4 Just Recycles on Windows Azure  I was recently working on a customer issue where the WebRole won’t come up. On the Windows Azure Management Portal all that can be seen is that the role keeps on recycling. The following message is perpetually displayed.  “Recycling (Recovering role…System is initializing.[2012-12-26T10:56:45Z]” On the new…

1