This project has moved and is read-only. For the latest updates, please go here.

IIS Web Gardens

Sometimes IIS servers have the Web Gardens feature enabled, and that can cause problems for CrissCross (or other ASP.NET web apps).

If you are getting lots of 'Failed to retrieve repdef object' and 'ASP.NET Session has expired' errors in the error log, it might be due to 'Web Gardens' being turned on on the IIS server. Usually 'Web Gardens' is off but some SSRS servers seem to have it on for some reason.

Basically 'Web Gardens' are when multiple worker processes get assigned to a single IIS Application Pool. This causes trouble for ASP.NET Sessions and caching (unless care has been taken to code round it). See here for background:

The way to fix it is by making sure that CrissCross was running in its own Application Pool, and then modifying the Application Pool settings so that on the 'Maximum number of worker processes' is set to 1. (Thats in the Application Pool properties, on the Performance tab). If 'Maximum number of worker processes' is greater than 1 then you're running 'web gardens' and the default session stuff won't work (unless you switch to more fancy ASP.NET session settings, see blog post).

Last edited Mar 25, 2012 at 12:10 AM by codeulike, version 2


No comments yet.