Platform Training Kit Dec 2011 - Problem with Adv Web and Worker Role issue

Answered Platform Training Kit Dec 2011 - Problem with Adv Web and Worker Role issue

  • Tuesday, March 06, 2012 1:35 AM
     
     

    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?

    Thanks!


    EM

All Replies

  • Tuesday, March 06, 2012 8:05 AM
    Moderator
     
     

    Hi,

    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.

    Best Regards,

    Ming Xu.


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework

  • Tuesday, March 06, 2012 11:51 AM
     
     

    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.


    EM

  • Tuesday, March 06, 2012 12:02 PM
     
     Answered

    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.