Sitecore Deploy Checklist

This will be a running list of tasks that need to be completed when deploying a Sitecore application to a production environment.

  1. add the IIS App Pool to the Performance Log Users group
  2. set the enableAnalytics setting in the web.config to false to prevent capturing analytics data in the CM instance
  3. go through the scaling guide for your version of Sitecore

One of the steps in the Scaling Guide is to download the SwitchMasterToWeb.config file from SDN and drop it into the \Website\App_Config\Include folder of all of your CDs.  This file addresses MOST (emphasis on “most” because, in many cases, it won’t address all) settings that reference the master database, however, if you are using Sitecore DMS, you’ll need to do the following manually: add a new config file to the \Website\App_Config\Include folder of all of your CDs to override the Analytics.DefaultDefinitionDatabase setting which is referenced in the Sitecore.Analytics.DLL through the GetSettings method which takes in two paramenters – the setting name and the default value if the setting is not found.  By default, none of the configuration files in an out-of-the-box Sitecore solution and not even the Sitecore.Analytics.config file that you need to enable manually contain this setting.  Therefore, when the code in the DLL runs and it doesn’t find the setting, it defaults the value to master.  This is why you have to create a new config file manually and place it in your \Website\App_Config\Include folder.  And here’s what this new config file should contain:

<configuration xmlns:patch="">
            <setting name="Analytics.DefaultDefinitionDatabase">
                <patch:attribute name="value">web</patch:attribute>

Leave a Reply