gpt4 book ai didi

azure - 计算模拟器上的 Windows Azure 服务

转载 作者:行者123 更新时间:2023-12-04 05:44:05 25 4
gpt4 key购买 nike

我创建了一个 Windows Azure 项目作为辅助角色..它有一个简单的 WCF 服务。当我在本地系统上运行它时,计算模拟器给出以下错误...

我安装了最新的 Azure SDK 工具包。请告诉我为什么会出现这个错误。

at Microsoft.WindowsAzure.Diagnostics.ControlChannel.GetControlContainer()[Diagnostics]: Acquired mutex  [Diagnostics] Information: C:\Users\kashif\AppData\Local\dftmp\Resources\85b2b7f8-61ec-499d-a473-b39674855c21\directory\DiagnosticStore\Monitor    [Diagnostics] Information: C:\Users\kashif\Downloads\WCFWorkerRole\WCFWorkerRole\WCFWorkerRole\csx\Debug\roles\WCFWorker\diagnostics\x64\monitor\MonAgentHost.exe -LocalPath "C:\Users\kashif\AppData\Local\dftmp\Resources\85b2b7f8-61ec-499d-a473-b39674855c21\directory\DiagnosticStore\Monitor" -StaticConfigFile  "C:\Users\kashif\AppData\Local\dftmp\Resources\85b2b7f8-61ec-499d-a473-b39674855c21\directory\DiagnosticStore\Monitor\Configuration\mastaticconfig.xml" -ConfigFile "C:\Users\kashif\AppData\Local\dftmp\Resources\85b2b7f8-61ec-499d-a473-b39674855c21\directory\DiagnosticStore\Monitor\Configuration\maconfig.xml" -ShutDownEvent WADDM-ShutDown-f615698470fe491ea136287908faa42c -InitializedEvent WADM-StartUp-f615698470fe491ea136287908faa42c -parent 11516 -events[MonAgentHost] Output: Agent will exit when WADDM-ShutDown-f615698470fe491ea136287908faa42c is signaled.    [MonAgentHost] Output: Will signal WADM-StartUp-f615698470fe491ea136287908faa42c after the agent is initialized.       [MonAgentHost] Output: Registered as an event consumer.    [MonAgentHost] Output: Agent will exit when parent process 11516 exits.    [MonAgentHost] Output: Monitoring Agent Started    [Diagnostics]: Creating config channel server    [Diagnostics]: Starting configuration channel polling    [runtime] Role entrypoint . COMPLETED OnStart()    [runtime] Role entrypoint . CALLING   Run()    Information: WCFWorker entry point called    Information: Working    Information: Working    [MonAgentHost] Error: MA EVENT: 2012-06-04T13:40:32.487Z    [MonAgentHost] Error:      2    [MonAgentHost] Error:      11292    [MonAgentHost] Error:      7264    [MonAgentHost] Error:      NetTransport    [MonAgentHost] Error:      0    [MonAgentHost] Error:  x:\btsdx\215\services\monitoring\shared\nettransport\src\netutils.cpp    [MonAgentHost] Error:      OpenHttpSession    [MonAgentHost] Error:      749    [MonAgentHost] Error:      0    [MonAgentHost] Error:      2f94    [MonAgentHost] Error:    [MonAgentHost] Error:      WinHttpGetProxyForUrl(http://127.0.0.1) failed ERROR_WINHTTP_AUTODETECTION_FAILED (12180)    [MonAgentHost] Error: MA EVENT: 2012-06-04T13:40:32.504Z    [MonAgentHost] Error:      2    [MonAgentHost] Error:      11292    [MonAgentHost] Error:      7264    [MonAgentHost] Error:      NetTransport    [MonAgentHost] Error:      0    [MonAgentHost] Error: x:\btsdx\215\services\monitoring\shared\nettransport\src\xblobconnection.cpp    [MonAgentHost] Error:      XBlobConnection::SendBytesRequestAndGetHttpStatus    [MonAgentHost] Error:      1980    [MonAgentHost] Error:      ffffffff80050006

Worker role OnStart:

ServicePointManager.DefaultConnectionLimit = 12; 
ServiceHost host;
IPEndPoint ip = RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["port"].IPEndpoint;
Uri baseAddress = new Uri(String.Format("http://{0}/MyService", ip));
try { host = new ServiceHost(typeof(MessengerService), baseAddress); host.Open(); }
catch (Exception ex) { Trace.WriteLine(ex.Message, "Error"); throw; }
return base.OnStart();

最佳答案

要解决这个问题,您需要在控制面板 -> 网络和 Internet -> Internet 选项 -> 连接 -> LAN 设置中禁用“自动检测设置”选项。

关于azure - 计算模拟器上的 Windows Azure 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10914139/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com