473,396 Members | 1,891 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 (PID: xxxx) stopped unexpectedly.

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 subdirectory and
compiled code was put in it's \bin directory. All worked well in testing,
even on their server.

Then, one day, a report was made that a user could not access one of the new
pages in the new virtual. A server error was being reported to the user. The
client's IT dept rebooted the web server to "fix" the problem and all worked
well again until the next night. Again, the same problem. Only this time,
the server was fine by the time I was told to investigate and no reboot was
performed.

I looked through the event logs for application errors and have found 3
different errors involving .NET.
1.) aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
2.) aspnet_wp.exe (PID: 3148) was recycled because it was suspected to
be in a deadlocked state. It did not send any responses for pending requests
in the last 180 seconds. This timeout may be adjusted using the
<processModel responseDeadlockInterval> setting in machine.config.
3.) The system has called a custom component and that component has
failed and generated an exception. This indicates a problem with the custom
component. Notify the developer of this component that a failure has
occurred and provide them with the information below.
Component Prog ID: SC.Pool 9 4
Method Name: IDispenserDriver::DestroyResource
Process Name: aspnet_wp.exe
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x272116E4
Call Stack:
MSDART!MPInitializeCriticalSection + 0x11C
oledb32!CSCDispMan::GetDispenserManager(unsigned short *) + 0x3D
COMSVCS!ATL::CComPolyObject<class CStdTrustable>::QueryInterface(struct
_GUID const &,void * *) + 0x55

When I cross-reference the IIS logs with the timestamps reported in the
event logs for these errors, there doesn't appear to be any pattern. In 15
instances, only one of them seems to involve one of the new ASPX pages. All
other cases are in various directories, involving classic ASP pages. I don't
get it. Whenever the 3rd error occurs, it is always followed immediately by
the 1st error and whenever the 1st error is reported, no ASP.NET pages can
be displayed.

I cannot for the life of me get this to happen at will. They happen at
varying times of the day. I've even removed the new .NET pages and virtual
for the subdirectory, but it still happens.

Is there a way to prevent the process from stopping when things go wrong? Is
there a setting I'm missing? Why does it seem that these errors are
happening with pages that don't even use ASP.NET, yet the aspnet_wp.exe is
always the process generating the errors?

Please, help.

--
Matt Sollars
ma**@hypersite.net
-------------------
The Hypersite Network
2002 N. Salisbury Blvd.
Suite C
Salisbury, Maryland 21801
T: 410.749.2000
F: 410.219.3400
http://www.hypersite.net
Nov 17 '05 #1
2 19458
Hi,

If you are using any VB6 dlls from your pages check that Retained in
memory and Unattended execution options are checked. I got it once, this
behavior documented in MS.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #2
Hello Matt,

Natty is right. "ASP.NET Worker Process (Aspnet_wp.exe) Is Recycled Unexpectedly" error is documented in one Microsoft
KB article. Please refer to http://support.microsoft.com/?id=321792 for details.

Hope that helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

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

--------------------
!From: "Matt Sollars" <ma**@hypersite.net>
!Subject: aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
!Date: Fri, 1 Aug 2003 17:08:39 -0400
!Lines: 73
!Organization: Hypersite
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <eT**************@TK2MSFTNGP10.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 207.204.29.22
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164256
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!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 subdirectory and
!compiled code was put in it's \bin directory. All worked well in testing,
!even on their server.
!
!Then, one day, a report was made that a user could not access one of the new
!pages in the new virtual. A server error was being reported to the user. The
!client's IT dept rebooted the web server to "fix" the problem and all worked
!well again until the next night. Again, the same problem. Only this time,
!the server was fine by the time I was told to investigate and no reboot was
!performed.
!
!I looked through the event logs for application errors and have found 3
!different errors involving .NET.
! 1.) aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
! 2.) aspnet_wp.exe (PID: 3148) was recycled because it was suspected to
!be in a deadlocked state. It did not send any responses for pending requests
!in the last 180 seconds. This timeout may be adjusted using the
!<processModel responseDeadlockInterval> setting in machine.config.
! 3.) The system has called a custom component and that component has
!failed and generated an exception. This indicates a problem with the custom
!component. Notify the developer of this component that a failure has
!occurred and provide them with the information below.
!Component Prog ID: SC.Pool 9 4
!Method Name: IDispenserDriver::DestroyResource
!Process Name: aspnet_wp.exe
!The serious nature of this error has caused the process to terminate.
!Exception: C0000005
!Address: 0x272116E4
!Call Stack:
!MSDART!MPInitializeCriticalSection + 0x11C
!oledb32!CSCDispMan::GetDispenserManager(unsigned short *) + 0x3D
!COMSVCS!ATL::CComPolyObject<class CStdTrustable>::QueryInterface(struct
!_GUID const &,void * *) + 0x55
!
!When I cross-reference the IIS logs with the timestamps reported in the
!event logs for these errors, there doesn't appear to be any pattern. In 15
!instances, only one of them seems to involve one of the new ASPX pages. All
!other cases are in various directories, involving classic ASP pages. I don't
!get it. Whenever the 3rd error occurs, it is always followed immediately by
!the 1st error and whenever the 1st error is reported, no ASP.NET pages can
!be displayed.
!
!I cannot for the life of me get this to happen at will. They happen at
!varying times of the day. I've even removed the new .NET pages and virtual
!for the subdirectory, but it still happens.
!
!Is there a way to prevent the process from stopping when things go wrong? Is
!there a setting I'm missing? Why does it seem that these errors are
!happening with pages that don't even use ASP.NET, yet the aspnet_wp.exe is
!always the process generating the errors?
!
!Please, help.
!
!--
!Matt Sollars
!ma**@hypersite.net
! -------------------
!The Hypersite Network
!2002 N. Salisbury Blvd.
!Suite C
!Salisbury, Maryland 21801
!T: 410.749.2000
!F: 410.219.3400
!http://www.hypersite.net
!
!
!
Nov 17 '05 #3

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

Similar topics

1
by: Nikhil Tayal | last post by:
I'm having a Web application build over asp.net. Everything was working fine till yesterday. But now if I browse to any asp.net hosted on my machine, I get this error in the event log: Event...
2
by: John A Grandy | last post by:
Has anyone unexpectedly encountered the following error for an ASP.NET application that was working fine? ...
2
by: Lokanathan | last post by:
Currently we are experiencing a unique problem with regard to the ASP .net service. Intermittently the ASP .Net service gets stopped (error message displayed in the webpage is "Server Application...
2
by: Erik Lindeblom | last post by:
I can suddenly no longer browse any of my ASP.net web services. The browser returns: Server Application Unavailable and tells me to look at the Application Event Log for more details. I have...
1
by: Ken Varn | last post by:
On a few occasions, IIS has thrown up a pop-up error message box stating that aspnet_wp generated an error. The browser interface comes back with a web page that indicates Server Application...
8
by: Ray5531 | last post by:
Hi All, I got the following Error when I try to run my ASP.NET app ,hosted by IIS 5.1 in windows xp. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1000...
3
by: Ramesh Dodamani | last post by:
Environment: XP Pro, VS.Net 2003, .Net 1.1.4322 with SP1 & KB Hotfix 886903 P4 2.2GHz, 1 GB RAM My system was working fine till a few weeks back when I started seeing the following errors. ...
0
by: Nina | last post by:
When i try to execute : StrCon=new OracleConnection(); StrCon.ConnectionString=ConfigurationSettings.AppSettings; OracleGlobalization SessionGlob = StrCon.GetSessionInfo(); in my C# web...
1
by: Paul Wasowicz | last post by:
Configuration: Windows 2000 Server SP4 ..Net Framework 1.1 SP1 Microsoft Site Server 3.0 Problem: the following error messages start showing up in the EVENT LOG on the server every once in a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.