Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

keep appdomain always live of an asp.net application

Posted on 2011-03-03
8
Medium Priority
?
344 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

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 2000 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

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

963 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