Azure云服务部署错误

时间:2012-09-12 10:36:25

标签: azure-storage azure-web-roles

我尝试在云中部署一个已审核的大小项目作为服务,

它给我一个致命的错误,我无法弄清楚错误和原因是什么意思

Azure部署堆栈跟踪

Role instances recycled for a certain amount of times during an update or upgrade operation.
This indicates that the new version of your service or the configuration settings you provided
when configuring the service prevent role instances from running. 
The most likely reason for this is that your code throws an unhandled exception.
Please consider fixing your service or changing your configuration settings so that 
role instances do not throw unhandled exceptions. 
Then start another update or upgrade operation. Until you start another update or upgrade 
operation, Windows Azure will continue trying to update your service to the new version or 
configuration you provided

1 个答案:

答案 0 :(得分:1)

对于此类部署错误,您最好先尝试在Azure Compute Emulator中运行应用程序,然后在云中部署。所以你可以得到未处理的异常信息,也不要忘记在你的代码中尝试catch。