gpt4 book ai didi

azure - 升级到 Azure 2.2 SDK 导致角色失败

转载 作者:行者123 更新时间:2023-12-04 02:15:15 25 4
gpt4 key购买 nike

我的项目中有 3 个辅助角色和一个 Web 角色,我将其升级到新的 2.2 SDK(VS2013 中需要)。自从升级以来,所有的工作角色都在失败,并且一旦启动就会立即回收。

当角色开始时,我收到以下消息:

Microsoft.WindowsAzure.ServiceRuntime Information: 200 : Role entrypoint . CALLING                     OnStart()
Microsoft.WindowsAzure.ServiceRuntime Information: 202 : Role entrypoint . COMPLETED OnStart()
The thread 0x441c has exited with code 259 (0x103).
Microsoft.WindowsAzure.ServiceRuntime Information: 203 : Role entrypoint . CALLING Run()
Microsoft.WindowsAzure.ServiceRuntime Warning: 204 : Role entrypoint . COMPLETED Run() ==> ROLE RECYCLING INITIATED
Microsoft.WindowsAzure.ServiceRuntime Information: 503 : Role instance recycling is starting
The thread 0x2684 has exited with code 259 (0x103)

有两件事引起了我的注意:

  1. 我开始看到一堆错误“无法找到或打开 PDB 文件。”但我不知道这是否直接相关。
  2. 我使用的是 VS 2013,虽然该项目将 SDK 列为 2.2,但角色中的引用是 2.1 版本。我需要升级组件吗?为什么当我将项目拉入 VS 时项目不会自动升级这些,因为它只支持 2.2?

任何有关如何附加此内容的想法都将受到赞赏。

最佳答案

需要手动更改引用。

关于azure - 升级到 Azure 2.2 SDK 导致角色失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19717215/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com