error while trying to run project

  • Thread starter Thread starter ray well
  • Start date Start date
R

ray well

hi,

i tried to run a asp .net project in debug mode, setting breakpoints along
the way to debug some problem, and i get a error message "error while trying
to run project", with no explaination of why this is.

i thought maybe this is because of some problem in my program, so i opened a
new web application, with a single button with some simple code in it, and
got the same result.

why is this happening, and what can i do to be able to run my web
application in debug mode?

thanks

ray
 
make sure there aren't any problems in your web.config...make sure that your
IIS is properly set up with applications or virtual directories...can you
run the site in IE without debugging?

karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
 
To debug you need to specifically enable debugging in the web.config file:

<configuration>
<system.web>
<compilation
defaultLanguage="c#"
debug="true"
/>
</system.web>
</configuration>

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
i found the problem, i tried running it as 'start without debugging' and it
gave me an error can't find 'xiexplore.exe'.

(i caught a spy bot that changes my home page to 'about:blank' some time
ago, in my attempt to rid of it i tried and renamed 'iexplore.exe' to
'xiexplore.exe' for a while, when it didn't help me, i renamed it back to
'iexplore.exe'.)

but my .net development environment is still looking for 'xiexplore.exe' (i
don't remember telling it to do so.). i tried renaming 'iexplore.exe' to
'xiexplore.exe' and was able to debug normally.

i wonder where it is told to the .net delvelopment environment, to look for
'xiexplore.exe' instead of 'iexplore.exe'.

i looked thru the registry looking for 'xiexplore.exe', and it wasn't
anywhere in the registry.

any idea where the .net development is told to look for 'xiexplore.exe' so i
can change it?

thanks,

ray
 
HAHAHA..seriously, you rename your iexplorer.exe at your own risk :P you
are more ballsy than I would have been....maybe if you just try to create a
shortcut named "xiexporer.exe" which points to the real one?

You can also try to see if resetting IE in VS.Net via "File" --> "Browse
With..."

hope that helps,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
 
hi karl,

thanks for the suggestion.

i tried resetting there, it didn't work. i even explicitly browsed to pick
up iexplore.exe.

help

ray
 
I seriously don't know :) You might wanna try a VS.Net specific newsgroup,
like microsoft.public.vsnet.ide

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top