use*_*546 5 debugging web-config iis-express azure-web-roles
我有一个在Azure云服务上运行的MVC 3.0 Web应用程序作为Web角色.在Visual Studio 2013下调试应用程序时,如果我在断点之间延迟太长时间,Web角色将关闭,IIS Express 8.0会向浏览器响应错误500.19.
我已经将项目设置为在IIS Express中运行并且模拟器表达.Azure模拟器启动时,会在文件夹中创建名为applicationHost.config的文件:
C:\ Users\<用户>\AppData\Local\dftmp\Resources \一些随机guid>\temp\temp\RoleTemp
我在MVC应用程序的控制器中设置了一个breackpoint.然后,如果调试会话花费超过一分钟(或多或少),上面的文件将被删除,我的浏览器中出现错误500.19.之后,我无法访问该应用程序,因为在每个请求中我都得到了相同的错误.
检查avobe文件夹中的其他文件后,我发现了一个名为WaHostBootstraper.log的日志,日志的最后几行是:
[00010272:00004636, 2015/01/27, 19:59:29.924, INFO ] Role host process registered.
[00010272:00006280, 2015/01/27, 19:59:30.350, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:30.350, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:30.850, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:30.850, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:31.350, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:31.350, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:31.851, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:31.851, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:32.352, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:32.352, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:32.853, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:32.853, INFO ] Client reported status 1.
[00010272:00006280, 2015/01/27, 19:59:33.353, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:33.379, INFO ] Client reported status 0.
[00010272:00006280, 2015/01/27, 19:59:33.880, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:33.887, INFO ] Client reported status 0.
[00010272:00006280, 2015/01/27, 19:59:48.889, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 19:59:48.916, INFO ] Client reported status 0.
[00010272:00006280, 2015/01/27, 20:00:03.917, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00006280, 2015/01/27, 20:00:03.922, INFO ] Client reported status 0.
[00010272:00006280, 2015/01/27, 20:00:18.923, INFO ] Getting status from client WaIISHost.exe (5056).
[00010272:00005408, 2015/01/27, 20:01:33.926, INFO ] Sending shutdown notification to client WaIISHost.exe (5056).
Run Code Online (Sandbox Code Playgroud)
我正在使用Azure SDK 2.5,Azure模拟器2.8.
| 归档时间: |
|
| 查看次数: |
371 次 |
| 最近记录: |