我有一个网络角色,我正在尝试使用模拟器在本地运行。我让它在另一台计算机上工作,但我无法让它在另一台计算机上工作,并且已经重新格式化它并从头开始。
当我从 Visual Studio 启动站点时,Chrome 显示以下消息:
This webpage is not available
The connection to 127.0.0.1 was interrupted.
底部还列出了一个错误代码:
Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.
构建输出中的一件有趣的事情是这些行:
Starting process 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Windows Azure Tools\v1.8\Debugger\WindowsAzureDebugger.exe' with arguments '"C:\Program Files\IIS Express\iisexpress.exe" /trace:error /config:"C:\Users\brian\AppData\Local\dftmp\Resources\159c7254-b7d0-4076-a4fd-820b00feca5f\temp\temp\RoleTemp\applicationHost.config" /site:"deployment18(27).AzureApp.MyApp.Web_IN_0_Web"'...
Process 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Windows Azure Tools\v1.8\Debugger\WindowsAzureDebugger.exe' exited with exit code 0.
如果我从命令行运行C:\Program Files\IIS Express\iisexpress.exe" /trace:error /config:"C:\Users\brian\AppData\Local\dftmp\Resources\159c7254-b7d0-4076-a4fd-820b00feca5f\temp\temp\RoleTemp\applicationHost.config" /site:"deployment18(27).AzureApp.MyApp.Web_IN_0_Web"
,我会收到以下消息:
The system cannot find the file specified.
Unable to start IIS Express in background.
我不知道它找不到哪个文件,但我已经验证我传递的配置文件确实存在。任何人都知道这里发生了什么?