Cannot start debugger in Visual Studio 2010 (F5). However, "attach to process" works (slowly). How to fix?

Wednesday:

  • A clean (new) installation of the 64-bit version of Windows 7.
  • Clean up the (new) installation of Visual Studio 2010 Professional (10.0.30319.1).
  • Windows update updated.

Problem:
I cannot start the debugger in Visual Studio 2010 (press F5):
Cannot start debugging on the web server. Unable to connect to the web server. Ensure that the web server is running and that incoming HTTP requests are not blocked by the firewall. '

However, attach to a process (which I usually do) works, but it starts up very slowly (Visual Studio “thinks” a lot of time before debugging is really turned on).

On the same hardware that runs VS 2008 on the good old Windows XP (32 bit), this problem never happened.

An attempt to debug a site running under ASP.NET Development Server also fails:
Unable to connect to the ASP.NET development server .

There are many web pages about these errors (many are very outdated and do not apply to my environment), none of them worked for me.

Notes:

  • Regardless of whether I launch Visual Studio as an administrator or not. The problem is the same.
  • The problem occurs even when starting a brand new empty IIS website created as "localhost / something" or "sample.local".
  • If I create a “File System” website (to try ASP.NET Development Server) when I press F5, the server will start, but after a long wait, Visual Studio says “Unable to connect to ASP.NET Development Server.
  • "hosts" 127.0.0.1 "localhost" "sample.local"
  • , .NET 2.0 4.0.
  • , " 32- " true false.
  • , .
  • "" IIS 6.0 ( !) .

, .
.

+5
1

OMG!, . . . , " " ( ), .

+1

All Articles