Unable to debug azure project in the emulator

我的梦境 提交于 2019-12-11 02:21:26

问题


Error:

There was an error attaching the debugger to the IIS worker process for URL http://127.255.0.0:82/ for role instance ...

So basically I have:

  • Windows 8 Enterprise
  • Visual Studio 2012
  • Azure SDK 1.7

Project with two roles:

  • Worker role
  • Web Role (ASP.NET MVC 4)

What have I tried

  • Enabled running 32-bit applications in AppPool
  • Checked for <compilation debug="true"> in Web.config
  • 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)


回答1:


aspnet_regiis.exe -ir from C:\Windows\Microsoft.NET\Framework\v4.0.30319 solved the problem. I've done this from developer command promt which has 64-bit path enviroment. This is for 32-bit.



来源:https://stackoverflow.com/questions/12340641/unable-to-debug-azure-project-in-the-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!