I've read about this issue online, but haven't found any articles that describe my problem. Here's my setup:
Operating system: Windows XP Professional Servive Pack 3
Visual Studio 2010 Professional
.NET Framework 4.0
I work creating ASP.NET MVC 2.0 projects. This issue also occurred when I was using Visual Studio 2008 to create MVC 1.0 projects.
Sometimes when I click the green arrow (Start debugging button) in Visual Studio, I'll get an error that states "Uable to start program." and gives a url to the Default.aspx page. This seems to occur completely at random. To 'fix' this, these are the steps
I take:
Press Ctrl + Shift + Esc to bring up the Task Manager. The window that should have openned the web project is blank and unresponsive, and cannot be closed otherwise.
Click on the green arrow again - everything works now.
Yes, that's it. I make no changes to code or configuration - I just start the program again. I sometimes get this error if I run the project even if I haven't made any changes to anything. No particular action seems to set it off, and no actions are required
to fix it besides those listed above, and in truth shutting down the window isn't necessary. This is extremely annoying, and happens several times per day.
Any suggestions?
It's not how hard you push in life, but who you push, that makes the difference between success and running for your life.
I'm having the same problem when trying to debug c# ASP Website, I know it's not the code because it happens with just a "new" website. I have XP sp3, visual studio 2010 ultimate and .NET Framework 4.0. very similiar setup.
WilliamSnell
Member
351 Points
550 Posts
Visual Studio - 'Unable to start program' error
Jun 24, 2010 06:38 PM|LINK
I've read about this issue online, but haven't found any articles that describe my problem. Here's my setup:
I work creating ASP.NET MVC 2.0 projects. This issue also occurred when I was using Visual Studio 2008 to create MVC 1.0 projects.
Sometimes when I click the green arrow (Start debugging button) in Visual Studio, I'll get an error that states "Uable to start program." and gives a url to the Default.aspx page. This seems to occur completely at random. To 'fix' this, these are the steps I take:
Yes, that's it. I make no changes to code or configuration - I just start the program again. I sometimes get this error if I run the project even if I haven't made any changes to anything. No particular action seems to set it off, and no actions are required to fix it besides those listed above, and in truth shutting down the window isn't necessary. This is extremely annoying, and happens several times per day.
Any suggestions?
jwal
Member
2 Points
1 Post
Re: Visual Studio - 'Unable to start program' error
Jun 24, 2011 01:42 AM|LINK
I'm having the same problem when trying to debug c# ASP Website, I know it's not the code because it happens with just a "new" website. I have XP sp3, visual studio 2010 ultimate and .NET Framework 4.0. very similiar setup.
skifreak
Member
144 Points
439 Posts
Re: Visual Studio - 'Unable to start program' error
Feb 19, 2013 06:28 PM|LINK
I get it as well and so does a co-worker. We both work on VM's and a reboot of the VM didn't help. I do think it could be a MS bug.