Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

Last post 08-24-2009 11:11 AM by satalaj. 8 replies.

Sort Posts:

  • Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-02-2009, 11:10 AM
    • Member
      point Member
    • rsargent
    • Member since 06-01-2009, 4:31 PM
    • Posts 6

    I have a very simple ASP.NET 3.5 project. When I start debugging the project, IE sometimes (about 50% of the time) starts, but never connects to the site. I need to exit IE and restart (which does not always work).

    I am developing on Windows 7 and using IIS with a virtual folder as the server for my project. I am running Visual Studio 2008 SP1.

    Any ideas?

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-03-2009, 9:54 AM
    • Star
      9,276 point Star
    • satalaj
    • Member since 11-28-2007, 5:41 AM
    • Pune
    • Posts 1,833

    Make sure you have set select startup project before running to debug.
    you can attach / detach debugger to any process that you want to debug

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-06-2009, 7:18 AM
    • Member
      point Member
    • rsargent
    • Member since 06-01-2009, 4:31 PM
    • Posts 6

    I have setup the startup project and often I can press the F5 key and the site starts right up. Sometimes, IE just hangs and appears to not be able to connect to the web application hosted on my development computer.

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-06-2009, 7:45 AM
    • Star
      9,276 point Star
    • satalaj
    • Member since 11-28-2007, 5:41 AM
    • Pune
    • Posts 1,833

    Try IE8 if that is getting hung. or try to disable all addins in existing one and do test.

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-10-2009, 4:29 PM
    • Member
      4 point Member
    • stevebor1
    • Member since 05-27-2009, 9:19 PM
    • Posts 7

     I am having the same problem on Win 7 and IE 8. I start debug on my project, IE opens but hangs. I'm thinking it is some port block/unblock issue.

    Anyone got this fixed?

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-10-2009, 4:56 PM
    • Member
      4 point Member
    • stevebor1
    • Member since 05-27-2009, 9:19 PM
    • Posts 7

     Restart Visual Studio, but "run as administrator". Fixed.

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    07-13-2009, 7:57 AM
    • Member
      point Member
    • rsargent
    • Member since 06-01-2009, 4:31 PM
    • Posts 6

    I always run Visual Studio as an Administrator and still get the problerm.

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    08-24-2009, 10:42 AM

    Since I started running VS as administrator this problem doesn't occur no more. You can right click on the shortcut icon for VS2008, go to properties and in general tab click on advanced and then run as administrator. Your application will always run under administrator when accessed from that shortcut.

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    08-24-2009, 11:11 AM
    • Star
      9,276 point Star
    • satalaj
    • Member since 11-28-2007, 5:41 AM
    • Pune
    • Posts 1,833

     If there is no other instance of IE opened and I run ASP.net web it works fine for me.

Page 1 of 1 (9 items)