473,811 Members | 3,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspnet_wp.exe hanging

We have built an ADO.NET data provider which is causing a problem in aspnet applications, in the VS.NET development environment only
The first time the aspnet application is run, everything works fine. However, when the browser is closed (ie. the application is ended) in order to make changes and rebuild the application, there is a problem
Whenever the aspnet application is run after making changes, it causes the aspnet_wp.exe to consume 100% of th
CPUs time and the machine hangs.

I think that the problem is related to the ASP.NET dynamic update. VS.NET hangs when deploying the new version of the web app. The VS.NET fails to copy the provider dll because it's locked by aspnet_wp.exe (by the previous run of the application)
We have found a couple of workarounds
1) Killing aspnet_wp.exe after exiting the app. will allow the app to be changed and redeployed/run
2) Changing the idelTimeout value in the machine.config file from infinity to 1 second also resolves the problem, but causes some other problems (you lose application state, the interactive debugger fails, and caching configuration information in a Singleton no longer works

Does anyone know how this problem can be resolved?
Is there a setting which must be made in the provider to cause it to be unloaded when the applicaiton ends?
Is there a less intrusive workaround than the one mentioned above
Or, is this a problem in asp.net that needs to be resolved from the MS end

Thanks

Jason Hinsperge
iAnywhere Solution

Nov 18 '05 #1
3 1896
Hi Jason,

Thanks for posting in the community!
From your description, you found that after you used a certain ADO.NET Data
Provider in your ASP.NET web application, there will occur the problem that
the aspnet_wp.exe process take 100% full cpu utilizaiton when make change
to web app or rebuild it , yes?

As for this problem, would you please provide some further info on your
develop environment, such as .net framework version, OS version, IIS
version,...

Also, are you sure that it is the Data Provider cause this problem, what
database are you using and what kind of dataprovider are you using? I've
searched some reference and found there does seems common issue with Oracle
Data Provider. So not sure what's your detailed condition. Also, have you
tried remove the Data Provider related code to see whether the problem
remains?

And here is anohter KB article discussing on a 100% cpu utilization after
ASP.NET appdomain reloaded:
#FIX: After an AppDomain Unload, the ASP.NET Worker Process Uses 100
Percent of the CPU
http://support.microsoft.com/default...b;en-us;810280

By the way, looking at the nature of this issue, it would require intensive
troubleshooting which would be done quickly and effectively with direct
assistance from a Microsoft Support Professional through Microsoft Product
Support Services. You can contact Microsoft Product Support directly to
discuss additional support options you may have available, by contacting us
at 1-(800)936-5800 or by choosing one of the options listed at
http://support.microsoft.com/default...d=sz;en-us;top. If this is not
an urgent issue and your would like us to create an incident for you and
have Microsoft Customer Service Representative contact you directly,
please send email to (remove "online." from this no Spam email address):
mailto:ds****** @online.microso ft.com with the following information,
*Include "Followup: <Tomcat IssueID>" in the email Subject.
*Location of the post
*Subject Line
*First Name, Last Name
*MSDN Subscriber ID
*Company name (if any)
*Phone number
*e-mail address

Please check out the above things and let me know if you need any further
assistance.
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 #2
Thanks for the response Steven. Your understanding of my problem is correct.

In answer to your questions:
1) I am using the Adaptive Server Anywhere data provider (iAnywhere.Data .AsaClient)
2) The problem occurs on both Win 2k and XP OS's on a variety of machines on various service packs, including SP3 of Win2k and XP with all of the available patches (as of today) applied.
3) The IIS version is 5.0.2195.3649
4) The version of the .Net Framework (and aspnet_wp.exe) is 1.1.4322
5) I am developing with VS.Net 2003 (7.1.3088)
6) If I comment out the code which accesses the data provider, there is no problem with running the app., stopping it, making a change and then running it again. As soon as I uncomment the code which accesses the provider, the problem reappears.

In regards to the kb article you listed, I am not sure if it applies, since there is no real load condition (I am just using a test application in the dev. environment). In any case, there is no download link available for this fix. How would I go about getting it to try it out and see if it works?

Finally, in terms of having an incident created, I am not sure what the <Tomcat Issueid> is supposed to be in the e-mail I need to send to have the incident created?

Thanks again,

--Jason Hinsperger
iAnywhere Solutions
www.ianywhere.com

Nov 18 '05 #3
Hi Jason,

Thanks for your followup. As for fix's download url, you need to contact
the microsoft PSS for it, as mentioned below:

------------------------------------------------
To resolve this problem immediately, contact Microsoft Product Support
Services to obtain the fix. For a complete list of Microsoft Product
Support Services phone numbers and information about support costs, visit
the following Microsoft Web site:
http://support.microsoft.com/default...EN-US;CNTACTMS
------------------------------------------------

In addition, as for the <Tomcat Issueid>, you can find it in the mail I've
sent to you. It is contained in some hyperlinks. Please have a check.

If you have any further questions, please feel free post here.

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 #4

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

Similar topics

2
19481
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET was installed on their web server and one of the subdirectories in the web site was converted to a virtual application to support the new pages that would be added. The rest of the site was left untouched. New aspx files were added to this...
5
2360
by: Ken Barrett | last post by:
I apologize in advance for cross-posting, but I have noted that others have experienced similar issues and was hoping that someone could help. Briefly, I am working on an ASP.NET content management application written in C#. running on .NET Framework 1.1/W2K/IIS5. The application uses the Microsoft WebService Behavior to generate a tree of "folders" in a frame on the left hand side. The user can click on a "folder", and the contents...
0
988
by: Raymond Tam | last post by:
In most of the time, my ASP.NET application works fine. However, in certain situation, the application occasionally waited extensively long time for a page display BUT NOT the others (i.e. the application still works). I found that when it tried to displaye a page where a .pdf file is created by crystal report from SQL server, the browser waited foreever. I am unable to find out what is the cause. After I use task manager to stop the...
1
261
by: MattB | last post by:
I have a web application I'm working on that relies on a c++ COM+ dll returning datasets as strings. It generally works well, but I've noticed that after running the application in the IDE for a while it starts to fail. I get a an error that a object I'm trying to use is null, like it doesn't exist. I've found that if I kill the process aspnet_wp.exe my app will start to run again. So this process is hanging and I don't know why. Could I...
0
267
by: Jason Hinsperger | last post by:
We have built an ADO.NET data provider which is causing a problem in aspnet applications, in the VS.NET development environment only The first time the aspnet application is run, everything works fine. However, when the browser is closed (ie. the application is ended) in order to make changes and rebuild the application, there is a problem Whenever the aspnet application is run after making changes, it causes the aspnet_wp.exe to consume 100%...
0
974
by: akshay | last post by:
hi Please help me with this one. we have a webfarm of 3 servers dual processors on windows2000 server IIS 5.0 and .net 1.1. I have changed the process model - of servers to have aspnet_wp to timeout after 8 hours to destroy any hanging resources as we were facing ODP.NET connection time out problems. What I have observed that after timeout of aspnet_wp - randomly one of the servers IIS stops responding, i have to manually do an IISRESET...
2
1521
by: Rob Meade | last post by:
Hi all, We have recently adopted to using .net for our web applications which were previously written in vanilla ASP. Things have been going ok until recently, or at least its only recently we've noticed the problems! It seems that from time to time our .net apps just stop responding, even if the server is rebooted when its all back up and running the apps will still
8
5032
by: John Blair | last post by:
Hi, I updated the latest .Net patch on my system this moring and now my SQL Web Data Administrator application is not working. I get the following error: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
2
2195
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around twice a day the aspnet_wp process takes 100% of the cpu and causes the whole website to come to a stand still. We then have to end the process for the website to become useable. Once the aspnet_wp process recycled itself and in the event logs it...
2
2000
by: Marcin Belczewski | last post by:
I have a problem with aspnet_wp.exe on my Windows XP. When I start any of my web applications, webservices or even try to create asp.net project under vs.net - aspnet_wp.exe process starts - consumes 50% of CPU and works for a long time doing nothing - web applications, vs.net seem to hang. After some time aspnet_wp.exe spawns and another aspnet_wp.exe consumes CPU without processing requests properly. Overnight I had 30 aspnet_wp...
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9607
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10652
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10395
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10137
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7673
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3026
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.