2012-09-12 222 views
3

我嘗試部署雲的服務主持規模的項目,Azure的雲服務部署錯誤

它給了我一個致命的錯誤,我不能夠找出錯誤原因的平均值爲

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

對於這種類型的部署錯誤的,你最好儘量在Azure計算仿真程序第一次運行你的應用程序,然後在雲中部署。所以你可以得到未處理的異常信息,也不要忘了試一試你的代碼。

相關問題