【问题标题】:Unhandled exception when trying to run my WorkerRole on using Windows Azure尝试在使用 Windows Azure 上运行我的 WorkerRole 时出现未处理的异常
【发布时间】:2014-12-14 01:00:29
【问题描述】:

我刚刚创建了我的第一个 Microsoft Azure 应用程序,我编写了一个简单的 WorkerRole 程序,它应该每秒在控制台上打印一条消息。 运行程序时,我经常遇到以下异常:

WaWorkerHost.exe 中出现“System.InvalidCastException”类型的未处理异常 附加信息:无法将透明代理转换为类型“Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge”。

构建成功,没有任何错误消息。我也尝试过多次重建该项目,但这没有帮助...... 我使用的是 32 位操作系统,安装了 Azure SDK 和 Visual Studio 2010。 如何解决此问题并运行我的程序而不会出现此异常?

【问题讨论】:

    标签: visual-studio-2010 azure azure-worker-roles


    【解决方案1】:

    最新版本的 Azure SDK 没有support Visual Studio 2010。您可能想尝试using 新的 Visual Studio 2013 社区版。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-07-10
      • 2018-10-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-12
      • 1970-01-01
      相关资源
      最近更新 更多