Solved

keep appdomain always live of an asp.net application

Posted on 2011-03-03
8
334 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

24 Experts available now in Live!

Get 1:1 Help Now