0

我是 Windows Azure 的新手。我正在开发一个使用 Windows Azure 存储的简单 asp.net FileManager 门户。我在 windows azure 门户上没有帐户,所以我尝试使用存储模拟器。每次我尝试使用 Visual Studio 运行存储时,我都有以下行为:

  1. 启动计算模拟器
  2. 启动存储模拟器
  3. 启动网络角色,但它的外壳向我显示以下消息:

    [MonAgentHost] 错误:MA 事件:2013-04-24T23:58:59.234Z [MonAgentHost] 错误:2 [MonAgentHost] 错误:3108 [MonAgentHost] 错误:14084 [MonAgentHost] 错误:SelfMonitoring [MonAgentHost] 错误:0 [MonAgentHost ] 错误:824f03af-5b9b-4ea5-84fa-6bd04de [MonAgentHost] 错误:selfmon.cpp [MonAgentHost] 错误:MASelfMon::GetProcCntrs [MonAgentHost] 错误:1421 [MonAgentHost] 错误:ffffffffc0000bb8 [MonAgentHost] 错误:0 [MonAgentHost]错误:
    [MonAgentHost] 错误:PdhAddCounter(\Process(MonAgentHost#0)\ID Process) 失败 [MonAgentHost] 错误:MA 事件:2013-04-24T23:58:59.277Z [MonAgentHost] 错误:2 [MonAgentHost] 错误:3108 [ MonAgentHost] 错误:4508 [MonAgentHost] 错误:FileListener.dll [MonAgentHost] 错误:0 [MonAgentHost] 错误:a4827672-7864-4b12-9994-848f8d0 [MonAgentHost] 错误:filelistener.cpp [MonAgentHost] 错误:FileListener::StringToTimeStamp [MonAgentHost] 错误:281 [MonAgentHost] 错误:ffffffff80010003 [MonAgentHost] 错误:0 [MonAgentHost] 错误:
    [MonAgentHost] 错误:错误:无法将日期时间字符串 2013-04-24T23.58.56.001Z 转换为有效时间戳 [诊断]:检查配置更新 24/04/2013 23.59.08。

它循环这个错误。有什么建议么?也许这是一个日期时间格式问题......但我该如何解决呢?

编辑:这是我的外壳的输出

[fabric] Role Instance: deployment18(55).SafetyPlatform.SafetyPlatform.Web.0
[fabric] Role state Started
[Diagnostics]: UpdateState(Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorStartupInfo, Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration, )
[Diagnostics]: Acquired mutex
[Diagnostics] Information: C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor
[Diagnostics] Information: C:\Users\Antonio\documents\visual studio 2012\Projects\SafetyPlatform\SafetyPlatform.Azure\csx\Debug\roles\SafetyPlatform.Web\diagnostics\x64\monitor\MonAgentHost.exe -LocalPath "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor" -StaticConfigFile "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor\Configuration\mastaticconfig.xml" -ConfigFile "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor\Configuration\maconfig.xml" -ShutDownEvent WADDM-ShutDown-3db0f5b65bf94bb793a6f8cebd833fe7 -InitializedEvent WADM-StartUp-3db0f5b65bf94bb793a6f8cebd833fe7 -parent 10416 -events
[MonAgentHost] Error: MA EVENT: 2013-04-25T16:47:04.167Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     4752
[MonAgentHost] Error:     11536
[MonAgentHost] Error:     SelfMonitoring
[MonAgentHost] Error:     0
[MonAgentHost] Error:     dcc23483-2ce0-4897-8675-0cb23d5
[MonAgentHost] Error:     selfmon.cpp
[MonAgentHost] Error:     MASelfMon::GetProcCntrs
[MonAgentHost] Error:     1421
[MonAgentHost] Error:     ffffffffc0000bb8
[MonAgentHost] Error:     0
[MonAgentHost] Error:     
[MonAgentHost] Error:     PdhAddCounter(\Process(MonAgentHost#0)\ID Process) failed
[Diagnostics]: Creating config channel server
[MonAgentHost] Output: Agent will exit when WADDM-ShutDown-3db0f5b65bf94bb793a6f8cebd833fe7 is signaled.
[MonAgentHost] Output: Will signal WADM-StartUp-3db0f5b65bf94bb793a6f8cebd833fe7 after the agent is initialized.
[MonAgentHost] Output: Registered as an event consumer.
[MonAgentHost] Output: Agent will exit when parent process 10416 exits.
[MonAgentHost] Output: Monitoring Agent Started
[Diagnostics]: Starting configuration channel polling
[runtime] Role entrypoint . CALLING   OnStart()
[runtime] Role entrypoint . COMPLETED OnStart()
[runtime] Role entrypoint . CALLING   Run()
[Diagnostics]: Checking for configuration updates 25/04/2013 18:48:04.
[Diagnostics]: Signalling process restart on event = WADDM-ShutDown-3db0f5b65bf94bb793a6f8cebd833fe7
[MonAgentHost] Error: MA EVENT: 2013-04-25T16:48:05.441Z
[MonAgentHost] Error:     3
[MonAgentHost] Error:     4752
[MonAgentHost] Error:     11536
[MonAgentHost] Error:     SelfMonitoring
[MonAgentHost] Error:     0
[MonAgentHost] Error:     dcc23483-2ce0-4897-8675-0cb23d5
[MonAgentHost] Error:     selfmon.cpp
[MonAgentHost] Error:     MASelfMon::StartTerminationCountdown
[MonAgentHost] Error:     1088
[MonAgentHost] Error:     10011
[MonAgentHost] Error:     0
[MonAgentHost] Error:     
[MonAgentHost] Error:     Not starting termination thread inside a client hosted monitoring agent
[MonAgentHost] Output: Exiting the monitoring agent 4752 after the shutdown event was signaled.
[MonAgentHost] Output: Monitoring Agent Stopped
[Diagnostics] Information: Diagnostic process exited with code: 0
[Diagnostics] Information: C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor
[Diagnostics] Information: C:\Users\Antonio\documents\visual studio 2012\Projects\SafetyPlatform\SafetyPlatform.Azure\csx\Debug\roles\SafetyPlatform.Web\diagnostics\x64\monitor\MonAgentHost.exe -LocalPath "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor" -StaticConfigFile "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor\Configuration\mastaticconfig.xml" -ConfigFile "C:\Users\Antonio\AppData\Local\dftmp\Resources\e2f7627c-4994-45f8-9faf-e6b79b9014d6\directory\DiagnosticStore\Monitor\Configuration\maconfig.xml" -ShutDownEvent WADDM-ShutDown-c5e4e166e3ca45a69d0f30d7785f20f9 -InitializedEvent WADM-StartUp-c5e4e166e3ca45a69d0f30d7785f20f9 -parent 10416 -events
[MonAgentHost] Error: MA EVENT: 2013-04-25T16:48:08.041Z
[MonAgentHost] Error:     2
[MonAgentHost] Error:     9400
[MonAgentHost] Error:     11948
[MonAgentHost] Error:     SelfMonitoring
[MonAgentHost] Error:     0
[MonAgentHost] Error:     8bc9ab18-a05b-4a5c-b054-963f010
[MonAgentHost] Error:     selfmon.cpp
[MonAgentHost] Error:     MASelfMon::GetProcCntrs
[MonAgentHost] Error:     1421
[MonAgentHost] Error:     ffffffffc0000bb8
[MonAgentHost] Error:     0
[MonAgentHost] Error:     
[MonAgentHost] Error:     PdhAddCounter(\Process(MonAgentHost#0)\ID Process) failed
[MonAgentHost] Output: Agent will exit when WADDM-ShutDown-c5e4e166e3ca45a69d0f30d7785f20f9 is signaled.
[MonAgentHost] Output: Will signal WADM-StartUp-c5e4e166e3ca45a69d0f30d7785f20f9 after the agent is initialized.
[MonAgentHost] Output: Registered as an event consumer.
[MonAgentHost] Output: Agent will exit when parent process 10416 exits.
[MonAgentHost] Output: Monitoring Agent Started
[Diagnostics]: Starting configuration channel polling

之后,它继续进行诊断(我认为这是正常的)

4

1 回答 1

1

通过将计算机的区域设置更改为意大利,我能够在我的计算机上重现此错误。我相信您偶然发现了计算模拟器的错误。发生的事情是计算模拟器(而不是诊断监视器代理)不喜欢.基于您的语言环境(意大利)的默认时间分隔符 ( )。

如果您可以接受,我确实找到了解决方法。解决方法是将默认时间分隔符从 更改.:。我尝试了相同的方法,但更改后没有给我错误。有关更多详细信息,请参阅下面的屏幕截图。

在此处输入图像描述

希望这可以帮助。

于 2013-04-25T10:38:39.753 回答