Solved

keep appdomain always live of an asp.net application

Posted on 2011-03-03
8
336 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:CPSRI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 35025942
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
 

Author Comment

by:CPSRI
ID: 35026163
could you please tell me how can i reach app domain settings in iis 5.1?
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 35026284
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:CPSRI
ID: 35034105
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
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 35036389
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
 

Author Comment

by:CPSRI
ID: 35065333
so, can we conclude that we can't do that?
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35066927
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
 

Author Closing Comment

by:CPSRI
ID: 35066984
thank u so much
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question