无法获取蔚蓝Web角色在本地使用模拟器运行 [英] Can't get azure web role to run locally using the emulator

查看:255
本文介绍了无法获取蔚蓝Web角色在本地使用模拟器运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我想要在本地使用模拟器运行一个Web角色。我有工作在另一台计算机上,但我不能让它工作在不同的地方,并尽量去了,以重新格式化并从头开始。

I have a web role that I'm trying to run locally using the emulator. I have it working on another computer, but I cannot get it working on a different one, and have gone as far as to reformat it and start from scratch.

当我启动从Visual Studio网站,Chrome会显示以下信息:

When I launch the site from Visual Studio, Chrome shows the following message:

此网页无法使用

为127.0.0.1的连接被中断。

还有一个在底部列出的错误code:

There is also an error code listed at the bottom:

错误101(净值:: ERR_CONNECTION_RESET):连接被重置

从构建输出一个有趣的事情是这些行:

One interesting thing from the build output are these lines:

启动进程C:\\ Program Files文件(x86)的\\微软的Visual Studio 11.0 \\ Common7 \\ IDE \\扩展\\微软\\的Windows Azure工具\\ V1.8 \\调试\\ WindowsAzureDebugger.exe'带参数'C:\\ Program Files文件\\ IIS防爆preSS \\ iisex press.exe/跟踪:错误/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'...

进程C:\\ Program Files文件(x86)的\\微软的Visual Studio 11.0 \\ Common7 \\ IDE \\扩展\\微软\\的Windows Azure工具\\ V1.8 \\调试\\ WindowsAzureDebugger.exe',退出退出code 0。

如果我跑 C:\\ Program Files文件\\ IIS防爆preSS \\ iisex press.exe/跟踪:错误/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在命令行中,我得到以下信息:

If I run 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" from the command line, I get the following message:

系统找不到指定的文件。
无法启动背景IIS防爆preSS。

我不知道是什么文件,它无法找到,但我已经验证了我传递的配置文件是否确实存在。任何人都有一个线索,这是怎么回事?这里

I have no idea what file it cannot find, but I've verified that the config file I'm passing does in fact exist. Anyone have a clue what's going on here??

推荐答案

虽然我不能告诉你可能是你的问题的真正根源,我可以建议一些方法来解决它:

While I can not tell you what could be the actual root cause of your problem I can suggest a few ways to troubleshoot it:


  1. 尝试改变IIS防爆preSS为Full IIS,看它是否改变了行为。你可以去你的Windows Azure应用程序项目的属性做到这一点,并期待在网络选项。

  2. 尝试没有调试它运行的应用程序

  3. 在命令提示符下启动CSrun使用/运行选项来验证调试器/ launchDebugger参数不无任何问题,运行

  4. 尝试使用IE作为默认浏览器

  5. 完全干净的dftemp文件夹中任何残留的配置,然后推出的Azure模拟器分别以验证有没有问题

这篇关于无法获取蔚蓝Web角色在本地使用模拟器运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆