When I try to debug my asp.net app in vs2010 I get the error:
"Unable to start program "http://..."
This is the dev machine, it worked for over 1 year, the last time a week ago, today I get this error on all projects, even a simple one page project. The only difference I can think of is I did run a vs2005 project (a windows app, not a web project) but
I'm sure I've done that before.
So I have vs 2010 and vs 2005 side-by-side (have for quire a while), so I ran aspnet_iisreg -i for framework 4.0 and that did not help.
I then did a system restore to a point when I know it worked, over a month ago, still get them same error.
If I right click on my default.aspx in vs 2010 and say run in browser the project runs fine. So the problem is debugging it.
After much ado and a total format and reinstall only to have the same problem I finally tracked this down.
I was using Avast Free AV for over a year with no problems, but I uninstalled it and now every thing works.
I noticed recently that avast would pop up a box asking if I wanted to run application in a sandbox, this was new behavior for avast, I would say yes and remember, but it must have been blocking the process of launching ie in debug mode for some reason.
In Hindsight this seems like an obvious place to look, but just before the original failure I had turns on source safe in vs 2010, and there were others that had this issue after doing that, turned out to be a big red herring.
Thank you for resolving this. I was pulling my hairs for quite sometime. Avast is installed in my system for more than a year now. But from past few months I have been experiencing this issue. On disabling Avast it seems working fine. But need to uninstall
it now for sure.
Now I am looking for some other Free antivirus on the net
michaelliveo...
Member
94 Points
60 Posts
VS 2010 error msg: Unable to start program "http://..."
Jul 20, 2011 06:05 PM|LINK
When I try to debug my asp.net app in vs2010 I get the error:
"Unable to start program "http://..."
This is the dev machine, it worked for over 1 year, the last time a week ago, today I get this error on all projects, even a simple one page project. The only difference I can think of is I did run a vs2005 project (a windows app, not a web project) but I'm sure I've done that before.
So I have vs 2010 and vs 2005 side-by-side (have for quire a while), so I ran aspnet_iisreg -i for framework 4.0 and that did not help.
I then did a system restore to a point when I know it worked, over a month ago, still get them same error.
If I right click on my default.aspx in vs 2010 and say run in browser the project runs fine. So the problem is debugging it.
What should I try next?
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Jul 20, 2011 07:45 PM|LINK
More info - In the app event log it shows an ie hang:
Event Type: Error
Event Source: Application Hang
Event Category: (101)
Event ID: 1002
Date: 7/20/2011
Time: 2:43:49 PM
User: N/A
Computer: CPU-ME
Description:
Hanging application iexplore.exe, version 8.0.6001.18702, hang module hungapp, version 0.0.0.0, hang address 0x00000000.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 48 61 6e 67 ion Hang
0010: 20 20 69 65 78 70 6c 6f iexplo
0018: 72 65 2e 65 78 65 20 38 re.exe 8
0020: 2e 30 2e 36 30 30 31 2e .0.6001.
0028: 31 38 37 30 32 20 69 6e 18702 in
0030: 20 68 75 6e 67 61 70 70 hungapp
0038: 20 30 2e 30 2e 30 2e 30 0.0.0.0
0040: 20 61 74 20 6f 66 66 73 at offs
0048: 65 74 20 30 30 30 30 30 et 00000
0050: 30 30 30 000
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Jul 20, 2011 09:26 PM|LINK
Reinastalled VS 2010 Ultimate, well, maintenance mode reinstall...took over 2 hours to complete.
Same problem.
Ideas????
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Jul 21, 2011 02:07 PM|LINK
Reapplied vs 2010 SP 1
Reinstalled IE8
Still does not work. I've run out of ideas.
I can debug using FireFox 3.6 and Crome...so that's what I'll do.
EDIT: Spoke too soon. It runs in debug mode in FF, but no symbols are loaded.
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Jul 21, 2011 02:37 PM|LINK
I may be getting close to finding the problem...
I don't seem to have an obj folder anymore. Where in VS 2010 do I tell it where to compile to for debug and release?
If the obj/debug folder is not there, why do I not get a compile error?
How can i find out where it is compileing it to?
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Jul 21, 2011 03:23 PM|LINK
No. That's not it.
Per this link: http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
I deleted the obj and bin folders then recompiled. Still does not work.
I went to debug > windows > modules and saw a bunch of modules loaded, some with symbols loaded and some not.
The ones without sysbols were things like system.xml, etc, I could not find my programs dll's in the list and I suspect
they are named as some tempory file so I can't tell which ones belopng to me anas opposed to the system.
So at this point I plan of finishing a project that will take about a week, then reformt and reinstall this machine.
Still open to any ideas out there...
michaelliveo...
Member
94 Points
60 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Aug 12, 2011 04:33 PM|LINK
RESOLVED!
After much ado and a total format and reinstall only to have the same problem I finally tracked this down.
I was using Avast Free AV for over a year with no problems, but I uninstalled it and now every thing works.
I noticed recently that avast would pop up a box asking if I wanted to run application in a sandbox, this was new behavior for avast, I would say yes and remember, but it must have been blocking the process of launching ie in debug mode for some reason.
In Hindsight this seems like an obvious place to look, but just before the original failure I had turns on source safe in vs 2010, and there were others that had this issue after doing that, turned out to be a big red herring.
Monisankar
Member
6 Points
4 Posts
Re: VS 2010 error msg: Unable to start program "http://..."
Aug 22, 2011 04:23 PM|LINK
Thank you for resolving this. I was pulling my hairs for quite sometime. Avast is installed in my system for more than a year now. But from past few months I have been experiencing this issue. On disabling Avast it seems working fine. But need to uninstall it now for sure.
Now I am looking for some other Free antivirus on the net