I am going through the first exercise in the Advanced Web and Worker roles lab in the Platform Training Kit and when I select F5 to run the SampleWebApp, I receive an error:
Windows Azure Tools for Microsoft Visual Studio
There was an error attaching the debugger to the IIS worker process for URL 'http://www.fabrikam.com:82/' for role instance 'deployment16(129).CloudService.SampleWebApp_IN_0'. Unabled to start debugging on the web server. The debugger cannot connect to the remote computer. This may be because the remote computer does not exist or a firewall may be preventing communication to the remote computer.
I have made sure that I started Visual Studio as and administrator.
Any ideas what this problem may be?
I would like to know what error messages you can see if you run the application without debugging. It may provide more detailed error messages if you run the application without debugging.
I receive an Http 400 error, bad request.
I have tried using both the VS Development server and using IIS by creating a virtual directory for my web app first. Same result.
I have also tried this on a virtual machine image to make sure it's not just my machine. Same result.
Make sure that you are able to resolve www.fabrikam.com to the loopback address. If you run the lab's setup, it will add the necessary entries to your machine's hosts file.
- 已标记为答案 Arwind - MSFTModerator 2012年3月14日 3:17