473,507 Members | 9,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to run aspnet applications

Hi,

Every time I try to run my aspnet application, I get this error:

"Error while trying to run project: Unable to start debugging on the web
server. There is no managed code running in the process. In order to attach
to a process with the .Net debugger, managed code must be running in the
process before attaching."

Any idea?

M O J O
Jul 21 '05 #1
6 3277
Hi,

Do you have the debugging enable in IIS ? (IIS->Default Web
Page->Properties->Home Directory (Configuration) -> Debugging)

Regards,
Peter Jausovec
(http://blog.jausovec.net)

"M O J O" <mojo@_no_spam_delete_this_newwebsolutions.dk> je napisal v
sporočilo news:uU******************@TK2MSFTNGP11.phx.gbl ...
Hi,

Every time I try to run my aspnet application, I get this error:

"Error while trying to run project: Unable to start debugging on the web
server. There is no managed code running in the process. In order to
attach to a process with the .Net debugger, managed code must be running
in the process before attaching."

Any idea?

M O J O

Jul 21 '05 #2
Jim
I need some help. First this is I do not know how to post a new question. I
just don`t get how to do it. Here is my question, Whenever I click on to open
my browser I get the following message, This application has failed to start
because NAVEvent.DLL was not found. Re-installing the application may fix
this problem. I then click okay and my browser opens. Any suggestions?

"M O J O" wrote:
Hi,

Every time I try to run my aspnet application, I get this error:

"Error while trying to run project: Unable to start debugging on the web
server. There is no managed code running in the process. In order to attach
to a process with the .Net debugger, managed code must be running in the
process before attaching."

Any idea?

M O J O

Jul 21 '05 #3
Hi Peter,

Thank you for your help, but this is unfortunately not the solution.

Any other idea??

Thanks,

M O J O

"Peter Jausovec" <pe***@jausovec.net> skrev i en meddelelse
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

Do you have the debugging enable in IIS ? (IIS->Default Web
Page->Properties->Home Directory (Configuration) -> Debugging)

Regards,
Peter Jausovec
(http://blog.jausovec.net)

"M O J O" <mojo@_no_spam_delete_this_newwebsolutions.dk> je napisal v
sporočilo news:uU******************@TK2MSFTNGP11.phx.gbl ...
Hi,

Every time I try to run my aspnet application, I get this error:

"Error while trying to run project: Unable to start debugging on the web
server. There is no managed code running in the process. In order to
attach to a process with the .Net debugger, managed code must be running
in the process before attaching."

Any idea?

M O J O


Jul 21 '05 #4
Hi MOJO,

If you installed VS7.0 and VS7.1 together and uninstall VS7.0 and you can't
do ASP.NET debugging with the error message, you need to repair the
installation of 1.1 CLR. it will solve your problem.

For more information, please check the following link. It has much
reference on the ASP.NET debugging issues.

http://blogs.msdn.com/mkpark/articles/86872.aspx

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #5
Hi Kevin,

Thank you for your help.

I reinstalled the framework and that worked, but now I have a new
problem....

My aspnet application-setting in IIS dissapears everytime I run the project
and I get this error:

"Unable to create Internet Information Server Administration object for
server. Unable to set server into correct debugging state automatically. You
may not be able to debug ASP pages. Do you want to continue launching the
debugger?"

If I go into IIS, the application is gone. I create the application again,
but when I run my project, the application dissapears again and I have to
"create" it again.

What is going on?

Thanks!!

M O J O
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> skrev i en meddelelse
news:$Z**************@cpmsftngxa10.phx.gbl...
Hi MOJO,

If you installed VS7.0 and VS7.1 together and uninstall VS7.0 and you
can't
do ASP.NET debugging with the error message, you need to repair the
installation of 1.1 CLR. it will solve your problem.

For more information, please check the following link. It has much
reference on the ASP.NET debugging issues.

http://blogs.msdn.com/mkpark/articles/86872.aspx

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #6
Hi M O JO,

What's the version of your OS and the IIS on it? Not sure whether the
problem is caused by the IIS got corrupted after you reinstalled the .net
framework. Currently I suggest you try using the
aspnet_regiis -u
aspnet_regiis - i

to uninstall and reinstall the asp.net on your machine and retest to see
whether it helps. YOu can run the
aspnet_regiis command in the VS.NET 's Command Line popup window.

If that still not sure, I'm afraid maybe the something in the IIS setting
got corrupted. And if you considering reinstall, we suggest you reinstall
the IIS first , then .net framework, that'll ensure the IIS will configure
the asp.net correctly when you install .net framework later.

Hope helps. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2962
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
1
1050
by: Matej Kavčič | last post by:
Hello I have one question. I see some demos in Share Portal service, where we have some web part which search for documents but when we press button the results is also set in other web part....
16
4173
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichč but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
916
by: dee | last post by:
Our website has folders containing other aspnet applications each having its own Gloabl.asax files.We also keep an old version of the the site in another folder fully functional. Can this cause a...
2
2055
by: NAGY | last post by:
hello, I created an asp.net web app in C# from a non administrative account in Visual Studio 2003, .net 1.1. when i try to run the application in debug mode from Debug start menu option, i get an...
6
599
by: M O J O | last post by:
Hi, Every time I try to run my aspnet application, I get this error: "Error while trying to run project: Unable to start debugging on the web server. There is no managed code running in the...
1
1515
by: cindy | last post by:
i posted this to dotnet.framework the answer was does file really exist. yes it does then WSS is in way In order to make the full path to the .js file defined as excluded I cannot use / character...
5
1501
by: Dariusz Tomon | last post by:
Hi I noticed that all my ASPNET applications (+ MSSQL Server - I checked the database and it is ok) run very slowly (especially from the beginning). I made comparison to other applications (not...
16
20662
by: Daniela Roman | last post by:
Hello, can someone tell me the main differences between the web and windows based applications? thank you
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.