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

Home Posts Topics Members FAQ

ASP.Net application recycling problem

Hello everyone,

We have large and complex ASP.Net web application.
Eventually IIS recycles our application due to deadlock condition. The error
message in the event log looks like this:

---------------------------------------------
Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Description:
aspnet_wp.exe (PID: 2356) 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.
---------------------------------------------

After that, typically, the application starts without any problems by first
incoming page request. But, sometimes the application doesn't restart
correctly after recycling. Each request produces the following error:

---------------------------------------------
Application crashed.
Reason :
System.Exceptio n: System.Configur ation.Configura tionException: It is an
error to use a section registered as allowDefinition ='MachineToAppl ication'
beyond application level. This error can be caused by a virtual directory
not being configured as an application in IIS.
(D:\InetPub\www root\web.config line 25)
at System.Web.Conf iguration.HttpC onfigurationSys tem.CacheLookup (String
vpath)
---------------------------------------------

The web.config file line 25 is: <authenticati on mode="Windows" />
Currently we don't have any idea about the reason of such behavior. Could
anybody help with this?

Our environment:
Win 2000,
IIS 5.0,
.Net Framework 1.0,
the application resides in wwwroot,
process isolation level - Medium(pooled)

--
Andriy Gnennyy
pulsar2003@{no-spam}email.ru (Please remove {no-spam} for reply)
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Nov 18 '05 #1
2 1394
Did you look for some code that could lock the app?
A never ending loop maybe?

"Andriy Gnennyy" <pulsar2003@{ no-spam}email.ru> wrote in message
news:uj******** ******@TK2MSFTN GP09.phx.gbl...
Hello everyone,

We have large and complex ASP.Net web application.
Eventually IIS recycles our application due to deadlock condition. The error message in the event log looks like this:

---------------------------------------------
Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Description:
aspnet_wp.exe (PID: 2356) 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.
---------------------------------------------

After that, typically, the application starts without any problems by first incoming page request. But, sometimes the application doesn't restart
correctly after recycling. Each request produces the following error:

---------------------------------------------
Application crashed.
Reason :
System.Exceptio n: System.Configur ation.Configura tionException: It is an
error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory
not being configured as an application in IIS.
(D:\InetPub\www root\web.config line 25)
at System.Web.Conf iguration.HttpC onfigurationSys tem.CacheLookup (String
vpath)
---------------------------------------------

The web.config file line 25 is: <authenticati on mode="Windows" />
Currently we don't have any idea about the reason of such behavior. Could
anybody help with this?

Our environment:
Win 2000,
IIS 5.0,
.Net Framework 1.0,
the application resides in wwwroot,
process isolation level - Medium(pooled)

--
Andriy Gnennyy
pulsar2003@{no-spam}email.ru (Please remove {no-spam} for reply)
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Nov 18 '05 #2
hi Andriy,
Microsoft has confirmed that this is as a bug. Look at the KB below for a
fix.
http://support.microsoft.com/default...BLN%5D;Q328267
"Sharon" <ta*******@hotm ail.com> wrote in message
news:eR******** ******@TK2MSFTN GP10.phx.gbl...
Did you look for some code that could lock the app?
A never ending loop maybe?

"Andriy Gnennyy" <pulsar2003@{ no-spam}email.ru> wrote in message
news:uj******** ******@TK2MSFTN GP09.phx.gbl...
Hello everyone,

We have large and complex ASP.Net web application.
Eventually IIS recycles our application due to deadlock condition. The error
message in the event log looks like this:

---------------------------------------------
Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Description:
aspnet_wp.exe (PID: 2356) 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.
---------------------------------------------

After that, typically, the application starts without any problems by

first
incoming page request. But, sometimes the application doesn't restart
correctly after recycling. Each request produces the following error:

---------------------------------------------
Application crashed.
Reason :
System.Exceptio n: System.Configur ation.Configura tionException: It is an
error to use a section registered as

allowDefinition ='MachineToAppl ication'
beyond application level. This error can be caused by a virtual

directory not being configured as an application in IIS.
(D:\InetPub\www root\web.config line 25)
at System.Web.Conf iguration.HttpC onfigurationSys tem.CacheLookup (String vpath)
---------------------------------------------

The web.config file line 25 is: <authenticati on mode="Windows" />
Currently we don't have any idea about the reason of such behavior. Could anybody help with this?

Our environment:
Win 2000,
IIS 5.0,
.Net Framework 1.0,
the application resides in wwwroot,
process isolation level - Medium(pooled)

--
Andriy Gnennyy
pulsar2003@{no-spam}email.ru (Please remove {no-spam} for reply)
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE


Nov 18 '05 #3

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

Similar topics

6
2938
by: Marios | last post by:
Hi, I want to have in a application i have created the feature of application recycling, similar to the aspnet_wp, and the new COM+ service. The reason i want to do this is because of being able to set limits to the memory usage my app can consume, and recycling it when it exceeds this limit. What I have done so far, is to create an application domain, in which all the objects i use are created, and by defining a certain number of...
3
4311
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and session-state Objects get lost. Therfore I have some questions: -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day? -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
4
1990
by: Hari Koduru | last post by:
Hi All, I am getting the following exception in an ASP.NET application. Exception Details: System.InvalidOperationException: Application is restarting. I have been to the following Support page
2
2102
by: Lars Netzel | last post by:
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that bad and this should nto occur. The application is using a lot of Session varaibles but I have no idea if this is a problem. I need the session variabled to make passing varibles between pages more secure. We also have many Datasets in the session. ...
0
1284
by: Phinneas | last post by:
Howdy, I have multiple apps running on a pair of dual-processor Win2k IIS servers, neither of which are domain controllers. My users are experiencing fairly frequent (10-20 / day) "Server Application Unavailable" errors. I'm using a custom "Server Application Unavailable" page to send me an email whenever this occurs. I also have a ProcessHistory page that leverages ProcessModelInfo.GetHistory() to show me what's going on at the...
6
1509
by: Chase | last post by:
I'm pretty new to asp.net and am having problems with my application timing out. I've written an application that loops through all of the information on an excel spreadsheet and does certain things with it, like creating and configuring WSS sites. My application runs fine for approximately 25 minutes, then I get the 'Page cannot be displayed' error. It seems like my browser times out before the application can finish what its doing.
6
4465
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
6
2046
by: Mad Scientist Jr | last post by:
My asp.net pages sessions are timing out after 20 minutes, and when I asked my Web host about it they said due to the nature of a shared hosting environment they cannot allow for sessions to keep application pools and worker processes hosed for too long as these fearures are consuming CPU resources while they are active. Therefore the pool application shutdown and re-start settings are at 20 minutes. Is there a workaround for this? Do I...
4
2165
by: Alex | last post by:
Hello, This is a follow-up to my earlier post about having issues with our application pool recycling. We currently use Session State InProc, but if I were to choose to move the existing application to SQL instead, would the only change in the application be the SessionState setting within web.config? I know I'd also need to setup our MS SQL database to handle sessions (detailed in MS Article 317604), but outside of this, is there...
0
9731
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
9605
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
10651
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...
1
10405
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10136
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
7671
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
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5556
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...
3
3020
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.