问题
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