Sunday, April 20, 2014

Reasons for Sitecore IIS App Pool Crash

In past few months, there were two separate instance where IIS application pool of Sitecore website was crashing intermittently. In both of these cases, stack overflow resulted in IIS application pool crash. This article lists some of the reasons for stack overflow scenarios in Sitecore:

1. Infinite control load using Presentation Inversion of Control:

The websites which were built on Sitecore instance uses Presentation Inversion of Control. In simple terms, there were some custom Sitecore sublayouts built which renders the controls added to its DataSource item.

In one of the website's home page (startItem), the content author added one such control. The data source item for that control also had the same control, mistakenly, added as part of it presentation details. Whenever a request was made for the home page, the controls were loaded infinitely which led to application pool crash.

2. Sitecore Custom Security Providers:

Whenever an item is requested, sitecore checks if the user has access rights to the item or not. To get the user details for access rights, Sitecore checks with the security providers which are configured in web.config file. In one such custom security provider, to get user details, a sitecore item was being accessed. Since this custom security provider was trying to access sitecore item, Sitecore again checks for user access and invokes GetUser() for security providers. This resulted in an infinite recursive loop and led to application pool crash. So, if you are creating any custom security providers in Sitecore, ensure that those security providers in turn do not access any sitecore item.


  1. Countries such because the USA, have much more advanced playing regulatory processes. Moreover, 토토사이트 in countries like India, playing is beneath strict control. With every country enacting totally different playing legal guidelines, it is powerful to be conversant in all of them.

  2. They work like support heroes, making an attempt to work tougher than standard support employees. To reach out to them, you can to|you 카지노사이트 presumably can} write them an email or join over social media. The growing reputation of social gambling and gambling apps is the primary factor driving the section. Moreover, the growing adoption of cellular devices globally encourages vendors to concentrate on to} developing social gambling games.