License Location

License Location

LicenseFile

  • This setting identifies the physical location of the Sitecore license file
  • The default location of the Sitecore license file is typically C:\inetput\wwwroot\<Sitecore Installation Folder>\data
  • An invalid setting for the dataFolder variable can result in "Missing License" error messages on a Sitecore site
    • Check the path assigned to the dataFolder variable at the top of the web.config file to ensure it is valid
    • Check if the dataFolder variable is assigned in any custom config files in the \App_Config\Include folder
  • There is also a setting in the web.config file that can be used to override the default location of the license file


Configuration Settings

<settings>

       …

                <setting name="LicenseFile" value="$(dataFolder)/license.xml"/>

       …

</settings>