Solved

keep appdomain always live of an asp.net application

Posted on 2011-03-03
8
335 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 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