Required license is missing: Runtime Sitecore

Swati Gupta picture Swati Gupta · Jan 12, 2016 · Viewed 20.8k times · Source

I am getting this error

Required license is missing: Runtime

I have checked datafolder path

 <sc.variable name="dataFolder" value="C:\Path\Data" />

and license file settings

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

also checked permission all is correct but still it is giving error.

Answer

Jay S picture Jay S · Jan 12, 2016

The most likely cause is a patch file in the include folder that is changing your path. Sometimes this is called "DataFolder.config" and may have the default path set in it, which will overwrite the setting value you might have in another patch config or in the Web.config file.

There are some tools that let you track down config settings without having a working Sitecore instance. I would try out the Config Builder (https://marketplace.sitecore.net/Modules/Sitecore_ConfigBuilder.aspx) which should be able to load up all your config settings and help you track down the problem.