Any Anti-Virus
software
Excluding your Framework and Application folder from
Anti-Virus options if the best approach in my opinion.
Any back up software or Indexing service running on your
box. It is because they cause FCN (File Change Notification) for the Web
Application folder. You can either disable your backup software and Indexing
Service completely or exclude the Web Application folder (if your software
provides you that option).
Group
Policies
Deleting
ASP.NET 2.0 Application Sub Directories.
From my personal experience I have seen that even if you are
uploading multiple files from the client’s end to your server, you may end up
losing your session. An easy resolution is to store the uploaded content
outside of your Application folder.
Session loss
after migrating to ASP.NET 2.0
Lost
session variables and AppDomain recycles
If you see that the App Domain recycle is still happening
for some mysterious reason and you have followed the steps 1-6 above, it is
time to change to Out of Process session mode like ASP.NET State server. You can move to SQL state management as well, but for the troubleshooting sake, ASP.NET State Server suits just fine. See if that helps. To know more about out of process
session mode, check
this.
If you are using ASP.NET 2.0, you have a better way to check
for the Application domain recycle and the pain of creating a Perfmon log could
be avoided pretty easily. Check out Health
Monitoring for Application's lifetime related events.
A crash?
Check your Event Viewer and see if you are getting an Error
in your Application Log with an Event ID 1000. For more information on Crash
and how to fix it please check my blog entry http://blogs.msdn.com/rahulso/archive/2006/03/02/541737.aspx.
You may also refer to Tess’s blog to
find out more about how to troubleshoot crash related issues.
A simple recycle of the worker process because of the
Application Pool related settings (if you are using 2003 Server)?
Ensure that you have disabled all the recycling options for
your worker process. By default, your application pool (in IIS 6) is configured
to recycle every 29 hours or 20 minutes of inactivity. Who knew your session
recycle for all the users is related to these settings? To know more about IIS
6 application pool’s health related configuration, please check the following
article.