Unable to start program 'http://localhost/Default.aspx'. VS2010

前端 未结 15 2267
猫巷女王i
猫巷女王i 2021-02-08 17:05

I cannot start my website from Visual Studio 2010 anymore.

For a few days I cannot start my project in a web browser using F5. When I open my web application directly by

15条回答
  •  Happy的楠姐
    2021-02-08 17:42

    I'm using VS2012 with an ASP.net app that was written using VS2003... I've tried everything to get the IE page to open automatically when I select F5, or even Ctrl+F5... Haven't been able to get anything to work... However, I have stumbled upon a very poor work-around. When I select debug and I get the 'Unable to start program...' msgbox... I noticed that on the icon-tray I get a msg saying local-host has started

    You'll notice a picture that the msgbox is pointing to: Well, if you right click it, you get three options:

    When you select the first: 'Open in Web Browser', it will open IE with the page your working with...

    Like I said, it's a very poor work-around... but it works. This isn't an issue when I select debug using 'Chrome' or the page-inspector... But they have their own issues.

提交回复
热议问题