微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

azure-storage – 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

解决方法

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐