473,394 Members | 1,878 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,394 software developers and data experts.

ASP.Net hanging

For some reason, I can't run any ASP.Net apps on my machine. I can't open
them in VS.Net either, it hangs while trying to open a web project.
Non-asp.Net apps work, so I don't think the problem is IIS. I've restarted
my machine, still the problem persists. Everything was fine for several
months. Any ideas?
I'm using...
VS2003
Win2000 Professional

Nov 18 '05 #1
6 1283
Installed microsoft updates lately?

"Marty McDonald" <mc******@wsdot.wa.gov> wrote in message
news:em**************@TK2MSFTNGP11.phx.gbl...
For some reason, I can't run any ASP.Net apps on my machine. I can't open
them in VS.Net either, it hangs while trying to open a web project.
Non-asp.Net apps work, so I don't think the problem is IIS. I've restarted my machine, still the problem persists. Everything was fine for several
months. Any ideas?
I'm using...
VS2003
Win2000 Professional

Nov 18 '05 #2
Hi Marty,

From your description, you found that you can't run any ASP.NET web
applications on your machine , also unable to open them in VS.NET yes?

As for this problem, I'd like to confirm some further things on it:
1. Since you mentioned that everything works well for several months,then
do you remember there is any new changes or updates on this machine which
may cause this issue?

2.Have you tried creating a virutal directory(configure as an application)
and put a very simple asp.net web application in it. And then visit the
page in the simple app from IE to see whether it'll hang. (Also, you can
also try visiting a simple classic ASP page to see whether asp page will
suffer the same problem)

3.If the problem is specified to ASP.NET, I think we'd like to do some
further research. But I think you can try resintall ASP.NET via the
"aspnet_regiis -i" command in the vs.net command prompt. Here is the
reference on ASP.NET IIS Registration tool in MSDN:
#ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
http://msdn.microsoft.com/library/en...etiisregistrat
iontoolaspnet_regiisexe.asp?frame=true

Please check out the above items. Also, you can perform some other steps so
as to isolate the problem. If you have any new findings, please feel free
to post here. 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.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
For item #1, there were no updates. For item #2, I did try other apps, they
did not work either. I tried item #3, and now everything works fine!
Thanks for the help!

Just for everyone's information... Here is a little more detail on exactly
what happened:
Yesterday while working on an ASP.Net app, I wrote code in global.asax for
the app, and I accidentally wrote an infinite "while" loop. So I stopped
the app. After that point everything stopped working, even after restart.
I don't think that would have caused my trouble, but FYI in case people are
interested.

1. Since you mentioned that everything works well for several months,then
do you remember there is any new changes or updates on this machine which
may cause this issue?

2.Have you tried creating a virutal directory(configure as an application)
and put a very simple asp.net web application in it. And then visit the
page in the simple app from IE to see whether it'll hang. (Also, you can
also try visiting a simple classic ASP page to see whether asp page will
suffer the same problem)

3.If the problem is specified to ASP.NET, I think we'd like to do some
further research. But I think you can try resintall ASP.NET via the
"aspnet_regiis -i" command in the vs.net command prompt. Here is the
reference on ASP.NET IIS Registration tool in MSDN:
#ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
http://msdn.microsoft.com/library/en...etiisregistrat iontoolaspnet_regiisexe.asp?frame=true

Nov 18 '05 #4
I spoke too soon! At first, # 3 worked for me. Now, the problem is back.
I'm working to check if any updates were applied to our machines yesterday.
But I'm open to other ideas.
Nov 18 '05 #5
OK ! Now I have really solved the problem!
Whenever you simply open a project in Visual Studio.Net, an application
error is raised. I don't know why that happens. But this causes any code
in "Application_Error" of global.asax to be executed. In my case,
Application_Error had an infinite "while" loop. This explains why my
aspnet_wp.exe process used 99% of CPU. It explains why my other ASP.Net
apps (but non-ASP.Net were OK) would also hang after trying to open that
first app.

To solve the problem, I went to the bin of my app and deleted the dll which
contains my Application_Error handling code. Then, I was able to open the
app with Visual Studio.Net without problems. I altered by "while" loop so
that it would perform properly. Now, everything is OK.
Nov 18 '05 #6
Hi Marty,

Thanks for your followup. I feel glad that the problem has been resolved.
Have a good day!
Regards,

Steven Cheng
Microsoft Online Support

Nov 18 '05 #7

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

Similar topics

6
by: Harlan Messinger | last post by:
A publication style guide indicates that for a table heading like the following, Table 3. Wheat and rye harvest in European countries in years that end in 3 or 7 or when a new prime minister...
25
by: Shannon Jacobs | last post by:
Maybe there is a simple trick here, and I'm not spotting it... Is there a guru of CSS hanging around here who can help out? The page in question has a multi-column table with a list of links in...
1
by: =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?= | last post by:
Hello guys, I was wondering if anybody here had implemented a solution where Tables are aligned according to what the hanging indent tells us when there is a potential for the table overflowing...
5
by: Stanimir Stamenkov | last post by:
I'm trying to style an icon "hanging" below the first line of a heading and I've found interesting difference between Mozilla and the other browsers I'm trying with - Safari 3.1.1, Opera 9.27 and...
3
by: Microsoft | last post by:
Hi I have a c# program that continually runs 24/7 and performs a variety of tasks based on a timer. There is one routine that hangs every Saturday morning without fail. If I restart the...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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
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...

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.