While upgrading sitecore 8.0 to 8.1. I have follow all the steps of upgrade guide. then i got the error "Required license is missing: Runtime".

License file is the same as i have used in sitecore 8.0 and at the same place(Data folder).

Please help me on this.

  • 2
    did you check datafolder setting value using hostname/sitecore/admin/showconfig.aspx Commented Jan 17, 2017 at 11:17
  • Check data folder setting may be somehow it's replaced with fresh one Commented Jan 17, 2017 at 11:32
  • there is no datafolder setting value in /sitecore/admin/showconfig.aspx. there is just single line: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowConfig.aspx.cs" Inherits="Sitecore.sitecore.admin.ShowConfig" %> Commented Jan 17, 2017 at 11:38
  • 2
    Catch 22 - showconfig.aspx will not load when the license file is missing
    – jammykam
    Commented Jan 17, 2017 at 11:44
  • 1
    can use config builder tool (marketplace.sitecore.net/modules/sitecore_configbuilder.aspx) to generate the showconfig output Commented Jan 17, 2017 at 18:35

2 Answers 2


The path to your license file is set incorrectly. The default value of the license file setting in config is:

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

If you have not change this, then most likely the issue is the dataFolder variable is not set correctly. Use a patch config set to update it to match the folder path your website is deployed to:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
    <sc.variable name="dataFolder">
      <patch:attribute name="value">C:\Inetpub\wwwroot\my-project-location\Data</patch:attribute>

The reason for the failure in your upgrade, at a guess, is that the dataFolder variable was updated directly in the <sitecore> section of web.config before, and when you upgrade to Sitecore 8.1 this has been moved to separate /App_Config/Sitecore.config file and therefore you lost your old setting. It's always best to use config patches to override Sitecore settings.


@jammykam 's answer contains all the information about where you can find the dataFolder setting.

In addition to that, you can use Sitecore ConfigBuilder tool to build the showconfig output or web.config output.


Main advantage of this tool is,

  • your website does not have to be running to generate the config files
  • can be use to generate full web.config output (not only showconfig output -- i.e. not only /configurations/sitecore section)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.