Error while trying to run project

  • Thread starter Thread starter Kris Desmadryl
  • Start date Start date
K

Kris Desmadryl

Hi all,

I create a new asp project, with just one button on the startup form but
when I run I always get a messagebox with the error : "Error while trying to
run project." No more information. I'm using visual studio 2003, xp prof
with service pack 2.
Also old asp projects I created doesn ' t run anymore, I get the same error.
I think sp2 has something to do with it.
The problem doesn't only occur when debugging, it occurs always.
I found on the internet a lot the problem : "Error while trying to run
project: Unable to start debugging on the Web server." But nothing in there
solves my problem.

I'm already 2 days stuck with the problem.... HELP

Kris.
 
Hi Tod,

Thx for answering, but I didn't install .NET framework 2.0

Kris.
 
Kris,
try attaching the aspnet_wp to the debugger manually to the Visual
studio.net after you start a web page in the browser. then put the break
points and try to step into the code. To do this, go to Debug --> Processes
and from the list pick the apsnet_wp and attach
 
It compiles fine. I even see my webpage when I type the url directly in IE.
But start running the project with visual studio results in the specified
error.

Any idea ?

Kris
 
Kris,

I have the exact same problem you do.

I'm running WIn2000 Pro SP4, DotNet v1.0.3705 and am using VS.NET 2002. I've
tried about a dozen fixes from this bulletin board and others- none work.
Most involved configuring various parts of IIS My application is ASP.NET
with a button on it- nothing else.

Have you figured this out yet?

Does anyone else have a reliable fix?

Thanks,

Bill K.
 
No, I think it's hopeless.
I already reïnstalled the vs.net 2003, IIS, the frameworks, asp. Nothing
seems to work.
It's almost a week I am stuck now.

Kris
 
Hi Kris,

If you installed IIS after you installed the .Net Framework, you can
run into a problem. See if the following article is usefull:
http://www.devx.com/vb2themax/Tip/18849

The gist of it is that you use the aspnet_regiis.exe tool to register
ASP.NET with IIS. Make sure you use the -i parameter (e.g.
aspnet_regiis.exe -i)
Hope this helps.

Tod Birdsall, MCP
http://tod1d.blogspot.com
 

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