我是Windows Azure的新人。我正在开发一个使用Windows Azure存储的简单asp.net FileManager Portal。我在windows azure portal上没有帐户,所以我尝试使用存储模拟器。每次我尝试使用Visual Studio运行存储时,我都有以下行为:
启动网络角色,但它的shell会显示以下消息:
[MonAgentHost]错误:MA EVENT: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 EVENT: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。
并循环此错误。 有什么建议?也许这是一个日期时间格式问题...但我该如何解决呢?
编辑: 这是我的shell的输出
[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
之后,它继续诊断(我认为这是正常的)
答案 0 :(得分:1)
我可以通过将计算机的区域设置更改为意大利来在我的计算机上重现此错误。我相信你偶然发现了计算模拟器的错误。发生的事情是计算模拟器(而不是诊断监视器代理)不喜欢基于您的语言环境(意大利语)的默认时间分隔符(.
)。
如果您可以接受,我确实找到了解决方法。解决方法是将默认时间分隔符从.
更改为:
。我尝试了同样的事情,更改后没有给我错误。有关详细信息,请参阅下面的屏幕截图。
希望这有帮助。