I have a very strange problem with deploying the azure cloud service. I have 1 web role with 5 instances and 1 cache role with two instances.
When I deploy my MVC 5 WebRole from the Azure portal, the deployment starts from the first web instance, then it tells me that the “Role cannot be started” due to an error and stops processing other instances. I did RDP for the failed instance, and indeed the MVC application gives an error message that it cannot find a specific file like "Layout page" ... "cannot be found in the following path", although a view in the specified path exists. So I did iisreset and the application worked. after I manually fixed the problem, the deployment continues to the next instance, and the failed instance becomes "Ready."
Does anyone have an idea why things aren't rolling out smoothly or why iisreset is needed?
This is relatively recent, about a month.
My environment:
- .NET Framework 4.5.1
- MVC 5
- Azure SDK 2.4 for VS 2013
Thanks for the help.
source
share