473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 3273
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
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
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
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
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
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
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
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
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
by: Daniela Roman | last post by:
Hello, can someone tell me the main differences between the web and windows based applications? thank you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.