Azure仿真器卡住了 [英] Azure Emulator stuck

查看:134
本文介绍了Azure仿真器卡住了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS2015 SDK 2.9 的Azure WorkerRole项目。该角色在云中运行良好,但是当我尝试使用FullEmulator在本地运行该角色时,无法启动该角色:

I'm working on azure WorkerRole project in VS2015, SDK 2.9. The role works good in cloud, but when i'm trying to run it locally with FullEmulator, role can't be started:


[ fabric]角色实例:
deployment29(116).MyComp.Engine.Deploy.MyProject.Engine.Azure.0

[fabric] Role Instance: deployment29(116).MyComp.Engine.Deploy.MyProject.Engine.Azure.0

[fabric]角色状态未知

[fabric] Role state Unknown

[面料]角色状态忙

[面料]角色状态未知

[fabric] Role state Unknown

[fabric]角色状态忙

[fabric] Role state Busy

[fabric]角色状态未知

[fabric] Role state Unknown

[fabric]角色状态忙

[fabric] Role state Busy

[fabric]角色状态被破坏

[fabric] Role state Destroyed

[fabric]角色状态忙

[fabric] Role state Busy

看起来角色正在重新启动有趣的是, OnStart()开头的断点没有击中

looks like role is restarting endlesly, the interesting thing is, that break point at the begining of the OnStart() doesn't hit

如何检测这种行为的原因?

How to detect the reason of such behaviour?

推荐答案

我只找到一种检测原因的方法-查看事件日志。模拟器有很多错误。我建议检查以下类别:

I found only one way to detect the reason - to look into event logs. There were a lot of errors from emulator. I suugest to check these categories:


  • Windows日志\应用程序事件日志

  • 应用程序和服务日志\Windows Azure事件日志

  • Windows日志\系统事件日志

我已经找到原因-角色配置错误。

I have found the reason - the role was misconfigured.

这篇文章可能有用

这篇关于Azure仿真器卡住了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆