keep appdomain always live of an asp.net application

hi,
usually appdomain of an application will be live for a certain period of time of activities on the application after that it will be deactivated, i know this much about appdomain. But I want to keep appdomain of my asp.net always live(on the server), how can i do this? please help me
thanks in advance
CPSRIAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
You can, you just need to add the "processModel" element to the <system.web> section of your web.config file, rather than to machine.config.
0
 
Carl TawnSystems and Integration DeveloperCommented:
In IIS Admin, bring up the properties for the AppPool that your application runs under. The basically you just need to untick all options on the "Recycling" and "Performance" tabs.
0
 
CPSRIAuthor Commented:
could you please tell me how can i reach app domain settings in iis 5.1?
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Carl TawnSystems and Integration DeveloperCommented:
Ah, you can't in 5.1. App Pools didn't appear until 6.0.

In order to try and force the same thing on IIS 5.1 you will need to modify the machine.config to set an extended timeout period.
Search your server for machine.config, open it up and search it for "<processModel" then add the following attributes to it:
timeout="Infinite" idleTimeout="Infinite" shutdownTimeout="Infinite"

Open in new window

0
 
CPSRIAuthor Commented:
how can we access the machine.config of the server? from my application. I am asking this because, generally, we will dont have the access the machine.config as I know, is there anyway to access it?
0
 
Carl TawnSystems and Integration DeveloperCommented:
Not without access to the server. Although if you add the processmodel element to your web.config it should override the machine.config values
0
 
CPSRIAuthor Commented:
so, can we conclude that we can't do that?
0
 
CPSRIAuthor Commented:
thank u so much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.