Answered New Install VS 2010 - Cannot Run Basic Web Application in Debug Mode

  • Monday, May 07, 2012 5:48 PM
     
     

    I recently installed VS 2010 and created a simple Web Application (WebApplication1) and tried to run it in Debug mode and received the following error:

    "Unable to start program http://localhost:4177/Default.aspx"

    I then set the properties to Use Local IIS and now receive this error:

    "Unable to start program http://localhost/WebApplication1/Default.aspx"

    I have VS2005 installed on the same PC and have been using it for many years.

    OS: Windows XP SP4

All Replies

  • Wednesday, May 09, 2012 5:03 AM
    Moderator
     
     Answered

    Hi Ray,

    Thank you for posting in the MSDN forum.

    1. Open the IE web browser, Tools->Internet Options->Security->Local intranet ,"security level for this zone: all", and put the security level to low. Check it again.
    2. Tools->Internet Options->Security->Trusted sites, add localhost as a trusted site.
      Make sure protected mode checkbox is unchecked. Check it.

    Reference:

    Unable to start program element not found.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • Monday, May 14, 2012 3:15 AM
    Moderator
     
     

    Hi Ray,

    Any update? Could you get the useful information from my reply?

    Would you mind letting us know the result of the suggestion?

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us