azure - 您的角色实例在更新或升级操作期间已回收多次

标签 azure azure-web-roles

我正在尝试将具有 1 个 Web 角色的云服务部署到 Azure。

当我这样做时,我收到以下消息:

Your role instances have recycled a number 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 the role instances from running. Verify your code does not throw unhandled exceptions and that your configuration settings are correct and then start another update or upgrade operation.

该项目在本地运行得很好,我很难弄清楚如何开始调试这个问题。是否存在导致此消息的常见问题或找出导致该消息的原因的步骤?

最佳答案

参见https://learn.microsoft.com/en-us/archive/blogs/kwill/windows-azure-paas-compute-diagnostics-data 。这将逐步介绍所有可用的诊断数据以及如何解决最常见的问题。

关于azure - 您的角色实例在更新或升级操作期间已回收多次,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19668460/

相关文章:

azure - 如何从 RoleEntryPoint.OnStart() 获取 WebRole 站点根路径?

c# - Azure 云服务 Web 角色未启动 - 未处理的异常 - 无法找到程序集

Azure DevOps - 将构建发布的工件部署到 Feed

azure - 网络作业 "host is not running"。如何调试?

azure - 从 Azure 网站访问 Azure 文件服务

Azure CDN - 没有 www 的自定义主机名不起作用 (NameCheap)

azure - Windows Azure 实例到底是什么?

Azure 搜索和破折号

Azure 诊断 - 是否需要自定义性能计数器才能按 url 获取请求计数器?

Windows 更新 2 月 10 日后,Azure 角色未启动