if u don't want to recycle the app pool, but this might create problem in long run. the solution (getaround fix) which u have used works best in this situation. Disable the automatic recycle of App Pool and have a batch script do this for you everymorning at 07:00, after the pool is recycled the same script will also make a call to any of your asp.net page, that will make iis to pre-compile your application after the recycle. this will make your applicaiton readily available for all users without delay.
** (I am not sure, but i guess the IIS check the timestamp for pre-compiled file if more than recent recycle time)
for you reference and manual pre-compile:
http://odetocode.com/artic
Main Topics
Browse All Topics





by: strickddPosted on 2009-10-05 at 08:29:49ID: 25496166
IIS is set to automatically recycle a pool if it is not used within a certain amount of time. You can turn this off and it should take care of your daily issues. You will have have the precompiling time if you move out a new web.config, .dll, etc.