简体   繁体   English

无法在模拟器中调试Azure项目

[英]Unable to debug azure project in the emulator

Error: 错误:

There was an error attaching the debugger to the IIS worker process for URL http://127.255.0.0:82/ for role instance ... 将角色实例的URL http://127.255.0.0:82/的调试器附加到IIS工作进程上时出错...

So basically I have: 所以基本上我有:

  • Windows 8 Enterprise Windows 8企业版
  • Visual Studio 2012 Visual Studio 2012
  • Azure SDK 1.7 Azure SDK 1.7

Project with two roles: 具有两个角色的项目:

  • Worker role 工人角色
  • Web Role (ASP.NET MVC 4) Web角色(ASP.NET MVC 4)

What have I tried 我尝试了什么

  • Enabled running 32-bit applications in AppPool 在AppPool中启用了运行32位应用程序
  • Checked for <compilation debug="true"> in Web.config 在Web.config中检查<compilation debug="true">
  • aspnet_regiis.exe -i aspnet_regiis.exe -i

Azure project is configured to run at Full IIS (with Express it's working like a charm, but need full IIS) Azure项目配置为在完整IIS上运行(使用Express时,它的工作原理很不错,但需要完整的IIS)

aspnet_regiis.exe -ir from C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319 solved the problem. 来自C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319 aspnet_regiis.exe -ir解决了此问题。 I've done this from developer command promt which has 64-bit path enviroment. 我已经从具有64位路径环境的开发人员命令promt中完成了此操作。 This is for 32-bit. 这是针对32位的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM