Solved

keep appdomain always live of an asp.net application

Posted on 2011-03-03
8
333 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
  • 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
 

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now