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

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

  • 2012年3月6日 1:35
     
     

    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

全部回复

  • 2012年3月6日 8:05
    版主
     
     

    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

  • 2012年3月6日 11:51
     
     

    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

  • 2012年3月6日 12:02
     
     已答复

    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.