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

webapp restarting every once in a while?

I have a web app running on w2k3server, and I have an application level
variable for a counter. Every once in a while today (I just put this live
last night), that counter value is reset to 1 when I hit the page, and I can
see the page taking longer to reload (I figure it's recompiling).

If I haven't redeployed that webapp, why would that page/app be recompiling
itself? Why is the application variable (set after I do an
Application.lock()) being reset and the page recompiling unless of course my
machine is being hacked into?

Any thoughts please? Thank you.
Nov 18 '05 #1
5 1203
Its probably the worker process set to recycle every n minutes, that will
drop the application and cause a recompile at next request and reset the
settings.

In IIS6 its a value in the IIS management consol for that application, in
IIS5 its a setting in machine.config

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Flip" <[remove]ph******@hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP15.phx.gbl...
I have a web app running on w2k3server, and I have an application level
variable for a counter. Every once in a while today (I just put this live
last night), that counter value is reset to 1 when I hit the page, and I can see the page taking longer to reload (I figure it's recompiling).

If I haven't redeployed that webapp, why would that page/app be recompiling itself? Why is the application variable (set after I do an
Application.lock()) being reset and the page recompiling unless of course my machine is being hacked into?

Any thoughts please? Thank you.

Nov 18 '05 #2
> In IIS6 its a value in the IIS management consol for that application, in
IIS5 its a setting in machine.config

Thank you John. I'll try looking into both of those tonight! :>
Nov 18 '05 #3
> Its probably the worker process set to recycle every n minutes, that will
hhhmmm Once the aspx is compiled, shouldn't it keep that compiled copy on
the file system? In j2ee, once the .class file is created, it's always
used. That's not the case here?
In IIS6 its a value in the IIS management consol for that application, in
IIS5 its a setting in machine.config

Can I use the machine.config or an application file (global.aspx?) to set it
by application?
Nov 18 '05 #4
> Its probably the worker process set to recycle every n minutes, that will
drop the application and cause a recompile at next request and reset the
settings.

In IIS6 its a value in the IIS management consol for that application, in
IIS5 its a setting in machine.config

Hi John. I tried looking in IIS6 in the management console, but couldn't
for the life of me find anything that remotely looked like this type of
setting. Any other ideas?

Nov 18 '05 #5
its a checkbox under the application pools section

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Flip" <!R*****************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Its probably the worker process set to recycle every n minutes, that will drop the application and cause a recompile at next request and reset the
settings.

In IIS6 its a value in the IIS management consol for that application, in IIS5 its a setting in machine.config

Hi John. I tried looking in IIS6 in the management console, but couldn't
for the life of me find anything that remotely looked like this type of
setting. Any other ideas?

Nov 18 '05 #6

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

Similar topics

2
by: Zhang Weiwu | last post by:
Hello. We recently designed a webapp and because most HQ staff use FF, we designed it based on FF. Now we extend this webapp to allow sub-offices in other cities to use the webapp, they use IE, and...
2
by: Adam Clauss | last post by:
I have a webapp (actually several) who's folder is setup to use HTTP Authentication through IIS (not using any .NET Authentication in the application itself). Everytime I open up the solution in...
0
by: LJ | last post by:
I have been getting this message and can't resolve the problem. I have checked the AntiVirus software and added the application directory to the exculsion list. The application is on a web farm,...
3
by: Jerry Boone | last post by:
I have a development unit running XP Pro and I cannot get it to build a web project without restarting IIS. There errors in the task list are.... ! Could not copy temporary files to the output...
5
by: Raghu Raman | last post by:
Hi, I want to run the calculator.exe file from my c# webapp.I did this by using the hyperlink control and the location of the exe is the navigate url and is working nice. But it gives the...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
2
by: pbd22 | last post by:
Hi. I am getting the error: "Thread is running or terminated. It cannot restart." It is happening inside a file upload loop where a thread is created for each file (reporting bytes). After the...
8
by: SAL | last post by:
Hello, I have a web app (asp.net 2.0) that I'm loosing Session variables in. I implemented: Application_End in Global.asax using the following code: Sub Application_End(ByVal sender As Object,...
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: 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
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
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...

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.