473,396 Members | 1,866 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.

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 1869
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.microsoft.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
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...
5
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...
0
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...
1
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...
0
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...
0
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...
2
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...
8
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...
2
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...
2
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 -...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.