我们刚刚将Visual Studio 2013更新为Update 3,并将Azure SDK更新为2.4版。我们为WebRole选择Use IIS Web Server
和Use Full Emulator
。
以前,当我们调试我们的解决方案时,他们会启动Azure仿真器,然后使用正确的本地IP地址和端口号(例如127.0.0.1:81)打开浏览器。如果我们打开另一个解决方案并对其进行调试,它将使用增加的IP地址和新的端口号(例如127.0.0.2:83)打开浏览器。
现在,在进行这些更新之后,当我的同事和我(两台独立的计算机)尝试调试我们的任何解决方案时,它会以#34; localhost:81&#34;打开浏览器。这适用于我们运行的第一个解决方案(因为localhost绑定到127.0.0.1,这是站点实际运行的位置),但是当我们运行第二个解决方案时,它会以&#34; localhost:83&#34;打开。这显然不起作用,因为它映射到&#34; 127.0.0.1:83&#34;,当该网站实际映射到&#34; 127.0.0.2:83&#34;。< / p>
我检查了Azure Compute Emulator并看到出现了一些错误,但不确定它们的含义或是否导致此问题:
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.136Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.136Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.197Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:09.197Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.267Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.267Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.296Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:13.296Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.087Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.087Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.119Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:16.119Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.820Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.820Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.856Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:18.856Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:21.636Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::GetEventMetaData
[MonAgentHost] Error: 1312
[MonAgentHost] Error: 0
[MonAgentHost] Error: 2
[MonAgentHost] Error: The system cannot find the file specified.
[MonAgentHost] Error: EvtOpenPublisherMetadata failed
[MonAgentHost] Error: MA EVENT: 2014-08-25T20:52:21.636Z
[MonAgentHost] Error: 2
[MonAgentHost] Error: 9136
[MonAgentHost] Error: 9016
[MonAgentHost] Error: SystemEventsListener.dll
[MonAgentHost] Error: 0
[MonAgentHost] Error: f795f9c8-6543-4edd-8fef-c36e51e
[MonAgentHost] Error: systemeventslistener.cpp
[MonAgentHost] Error: SystemEventsListener::AnalyzeEvent
[MonAgentHost] Error: 1197
[MonAgentHost] Error: ffffffff80010008
[fabric] Role state Unhealthy
[fabric] Role state Started
[MonAgentHost] Error: 0
[MonAgentHost] Error:
[MonAgentHost] Error: Error: Cannot get event message meta data
我还查看了System
日志下的事件查看器,每次调试解决方案时都会看到这三个错误:
The application '/' belonging to site '1273337584' has an invalid AppPoolId '099a3c29-93de-4169-8a9d-0a8555c5b926' set. Therefore, the application will be ignored.
Site 1273337584 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid.
A process serving application pool '099a3c29-93de-4169-8a9d-0a8555c5b926' terminated unexpectedly. The process id was '9396'. The process exit code was '0xfffffffe'.
有没有人有任何想法为什么突然发生这种情况?有没有办法让VS2013 / Azure恢复打开具有正确本地IP地址的浏览器?
[编辑:我在connect.microsoft.com上将其添加为a bug。还没有答复。]