Visual Studio Development Bookmark and Share   
 index > Visual Studio Debugger > Unable to debug asp.net in VS2008
 

Unable to debug asp.net in VS2008

Hi,

I've installed VS2008 RTM on WinXP SP2. When I try to debug an asp.net application in either the IIS or the build in web server I get

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start program 'http://localhost/TestWebSite/Default.aspx'.


---------------------------
OK
---------------------------

VS2005 still works fine on the same machine.

Any ideas?

Thanks

Dion

Dion Brown  Wednesday, November 21, 2007 12:36 PM
Thanks to a helpful customer, we found one possible cause of this problem. If you have a file called 'Program' or 'Program.exe' in the root of your system drive, this can cause this problem. If you have this file, try removing it, and the problem will go away.

Hope this helps,
Gregg Miskelly
Visual Studio Debugger Dev
Gregg Miskelly  Wednesday, August 06, 2008 5:20 PM

Hi Dion,

Could you please start the web site without debugging (Ctrl + F5) and see if this provides more information?

Also can you start/run/debug any other type of projects (C# app, cassini)?

Thank you,

Alina

alinap - MSFT  Wednesday, November 21, 2007 11:05 PM

Hi Alina,

Sorry for the delay in responding. For some reason the forum didn't alert me to you response.

If I use Ctrl + F5 then the web site runs. I get the same error with IIS and Cassini.


WinForms, WPF and Console applications work fine.

There are no errors in the event log. I'm not too sure where else to look.

Thanks

Dion.

Dion Brown  Monday, December 17, 2007 8:48 AM

Hi,

Wasanyone able tosolve this problem?

I have the same problem. ctrl-F5 works fine, but debugging does not work (not in IIS, not in Cassini)

Thanks,

Kristof

BombaDirk  Tuesday, February 19, 2008 8:50 AM
What error do you get with Cassini?

Gregg Miskelly  Tuesday, February 19, 2008 10:50 PM
The Same problem, anyone who solve this question?
dukou  Sunday, May 11, 2008 8:06 AM
Thanks to a helpful customer, we found one possible cause of this problem. If you have a file called 'Program' or 'Program.exe' in the root of your system drive, this can cause this problem. If you have this file, try removing it, and the problem will go away.

Hope this helps,
Gregg Miskelly
Visual Studio Debugger Dev
Gregg Miskelly  Wednesday, August 06, 2008 5:20 PM
I don't have "Program" or "Program.exe" any where on my computer.  But I still have the problem.
almostrookie  Wednesday, October 07, 2009 10:03 PM

You can use google to search for other answers

Custom Search

More Threads

• Debug Stored Procedures in Visual Studio Database project
• Watch list
• ...A debugger is already attached error while trying to debug
• Cannot enable Just-In-Time script debugging
• Debugger not breaking at breakpoints in Sharepoint Class
• Breakpoint will not be hit. No executable code......
• Watching std::vector values in the Watch window when debugging
• Can't see exception details and calling stack in Visual C# Express
• Hosting Process Problem
• Visual Studio stops responding when debugging